其他分享
首页 > 其他分享> > [Vue warn]: Error in mounted hook: "SyntaxError: Unexpected token   in JSON at position 54"

[Vue warn]: Error in mounted hook: "SyntaxError: Unexpected token   in JSON at position 54"

作者:互联网

vue.esm.js?c5de:628 [Vue warn]: Error in mounted hook: "SyntaxError: Unexpected token   in JSON at position 54"

found in

---> <OaHeader> at src/pages/common/oaHeader.vue
       <ElHeader> at packages/header/src/main.vue
         <ElContainer> at packages/container/src/main.vue
           <Home> at src/pages/home/home.vue
             <App> at src/App.vue
               <Root>
warn @ vue.esm.js?c5de:628
logError @ vue.esm.js?c5de:1893
globalHandleError @ vue.esm.js?c5de:1888
handleError @ vue.esm.js?c5de:1848
invokeWithErrorHandling @ vue.esm.js?c5de:1871
callHook @ vue.esm.js?c5de:4222
insert @ vue.esm.js?c5de:3148
invokeInsertHook @ vue.esm.js?c5de:6351
patch @ vue.esm.js?c5de:6570
Vue._update @ vue.esm.js?c5de:3948
updateComponent @ vue.esm.js?c5de:4069
get @ vue.esm.js?c5de:4482
Watcher @ vue.esm.js?c5de:4471
mountComponent @ vue.esm.js?c5de:4076
Vue.$mount @ vue.esm.js?c5de:9057
Vue.$mount @ vue.esm.js?c5de:11953
Vue._init @ vue.esm.js?c5de:5021
Vue @ vue.esm.js?c5de:5088
(anonymous) @ main.js?1c90:37
./src/main.js @ app.js:8000
__webpack_require__ @ app.js:708
fn @ app.js:113
0 @ app.js:8641
__webpack_require__ @ app.js:708
(anonymous) @ app.js:806
(anonymous) @ app.js:809
vue.esm.js?c5de:1897 SyntaxError: Unexpected token   in JSON at position 54
    at JSON.parse (<anonymous>)
    at VueComponent.mounted (oaHeader.vue?a592:136)
    at invokeWithErrorHandling (vue.esm.js?c5de:1863)
    at callHook (vue.esm.js?c5de:4222)
    at Object.insert (vue.esm.js?c5de:3148)
    at invokeInsertHook (vue.esm.js?c5de:6351)
    at Vue.patch [as __patch__] (vue.esm.js?c5de:6570)
    at Vue._update (vue.esm.js?c5de:3948)
    at Vue.updateComponent (vue.esm.js?c5de:4069)
    at Watcher.get (vue.esm.js?c5de:4482)

 

 

标签:Vue,54,SyntaxError,js,c5de,vue,esm,app
来源: https://blog.csdn.net/xyphf/article/details/97261952