diff --git a/babel.config.js b/babel.config.js index ba179669..1aeb5883 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,5 +1,7 @@ module.exports = { presets: [ '@vue/app' - ] + ], + // 允许两种编码引入方式共存,也就是common规范与es6规范的共存处理 + sourceType: 'unambiguous' }