这是因为浏览器不支持import,使用babel将es6转化为es5
Vue中单独的文件报错Unexpected token import
猜你喜欢
转载自blog.csdn.net/weixin_38098192/article/details/80748626
今日推荐
周排行