vue项目所有vue文件报token.type.endsWith is not a function错误?

vue项目所有vue文件报token.type.endsWith is not a function错误?

项目中所有的vue文件报token.type.endsWith is not a function
查看workorderManagement\index.vue文件的474行,正好是vue中script标签开始的时候,不知道是什么原因造成的?

error  in ./src/views/workorderManagement/index.vue

Syntax Error: TypeError: token.type.endsWith is not a function

Occurred while linting C:\code\uhi-company-web\src\views\workorderManagement\index.vue:474

at Array.every (<anonymous>)

at Array.forEach (<anonymous>)

at Array.forEach (<anonymous>)

at Array.map (<anonymous>)

@ ./src/router/index.js 218:51-90

@ ./src/main.js

@ multi (webpack)-dev-server/client?http://10.220.180.87:9528/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

以上是 vue项目所有vue文件报token.type.endsWith is not a function错误? 的全部内容, 来源链接: utcz.com/p/936303.html

回到顶部