zhangjihao
zhangjihao
  • 发布:2024-09-26 11:57
  • 更新:2024-09-26 11:57
  • 阅读:93

内置浏览器报错,而且定位不到错误在哪里。但Chrome H5、安卓模拟器、微信小程序都不报错。

分类:HBuilderX

vue.runtime.esm.js? [sm]:1480 SyntaxError: Unexpected token '{'

====================================下面是错误栈=======================================
logError @ vue.runtime.esm.js? [sm]:1480
handleError @ vue.runtime.esm.js? [sm]:1467
onError @ vue.runtime.esm.js? [sm]:3768
(anonymous) @ vue.runtime.esm.js? [sm]:3811
Promise.catch (async)
setup @ vue.runtime.esm.js? [sm]:3810
callWithErrorHandling @ vue.runtime.esm.js? [sm]:1418
setupStatefulComponent @ vue.runtime.esm.js? [sm]:8980
setupComponent @ vue.runtime.esm.js? [sm]:8941
mountComponent @ vue.runtime.esm.js? [sm]:7265
processComponent @ vue.runtime.esm.js? [sm]:7231
patch @ vue.runtime.esm.js? [sm]:6699
mountChildren @ vue.runtime.esm.js? [sm]:6947
processFragment @ vue.runtime.esm.js? [sm]:7161
patch @ vue.runtime.esm.js? [sm]:6673
mountChildren @ vue.runtime.esm.js? [sm]:6947
processFragment @ vue.runtime.esm.js? [sm]:7161
patch @ vue.runtime.esm.js? [sm]:6673
mountChildren @ vue.runtime.esm.js? [sm]:6947
mountElement @ vue.runtime.esm.js? [sm]:6854
processElement @ vue.runtime.esm.js? [sm]:6819
patch @ vue.runtime.esm.js? [sm]:6687
mountChildren @ vue.runtime.esm.js? [sm]:6947
mountElement @ vue.runtime.esm.js? [sm]:6854
processElement @ vue.runtime.esm.js? [sm]:6819
patch @ vue.runtime.esm.js? [sm]:6687
mountChildren @ vue.runtime.esm.js? [sm]:6947
processFragment @ vue.runtime.esm.js? [sm]:7161
patch @ vue.runtime.esm.js? [sm]:6673
componentUpdateFn @ vue.runtime.esm.js? [sm]:7375
run @ vue.runtime.esm.js? [sm]:180
instance.update @ vue.runtime.esm.js? [sm]:7500
setupRenderEffect @ vue.runtime.esm.js? [sm]:7510
mountComponent @ vue.runtime.esm.js? [sm]:7277
processComponent @ vue.runtime.esm.js? [sm]:7231
patch @ vue.runtime.esm.js? [sm]:6699
mountChildren @ vue.runtime.esm.js? [sm]:6947
mountElement @ vue.runtime.esm.js? [sm]:6854
processElement @ vue.runtime.esm.js? [sm]:6819
patch @ vue.runtime.esm.js? [sm]:6687
componentUpdateFn @ vue.runtime.esm.js? [sm]:7375
run @ vue.runtime.esm.js? [sm]:180
instance.update @ vue.runtime.esm.js? [sm]:7500
setupRenderEffect @ vue.runtime.esm.js? [sm]:7510
mountComponent @ vue.runtime.esm.js? [sm]:7277
processComponent @ vue.runtime.esm.js? [sm]:7231
patch @ vue.runtime.esm.js? [sm]:6699
componentUpdateFn @ vue.runtime.esm.js? [sm]:7375
run @ vue.runtime.esm.js? [sm]:180
instance.update @ vue.runtime.esm.js? [sm]:7500
setupRenderEffect @ vue.runtime.esm.js? [sm]:7510
mountComponent @ vue.runtime.esm.js? [sm]:7277
processComponent @ vue.runtime.esm.js? [sm]:7231
patch @ vue.runtime.esm.js? [sm]:6699
componentUpdateFn @ vue.runtime.esm.js? [sm]:7456
run @ vue.runtime.esm.js? [sm]:180
instance.update @ vue.runtime.esm.js? [sm]:7500
updateComponent @ vue.runtime.esm.js? [sm]:7308
processComponent @ vue.runtime.esm.js? [sm]:7242
patch @ vue.runtime.esm.js? [sm]:6699
componentUpdateFn @ vue.runtime.esm.js? [sm]:7456
run @ vue.runtime.esm.js? [sm]:180
instance.update @ vue.runtime.esm.js? [sm]:7500
callWithErrorHandling @ vue.runtime.esm.js? [sm]:1418
flushJobs @ vue.runtime.esm.js? [sm]:1623
Promise.then (async)
queueFlush @ vue.runtime.esm.js? [sm]:1532
queueJob @ vue.runtime.esm.js? [sm]:1526
scheduler @ vue.runtime.esm.js? [sm]:3219
resetScheduling @ vue.runtime.esm.js? [sm]:263
triggerEffects @ vue.runtime.esm.js? [sm]:307
triggerRefValue @ vue.runtime.esm.js? [sm]:1067
set value @ vue.runtime.esm.js? [sm]:1112
finalizeNavigation @ vue-router.mjs?v=153658cd? [sm]:3361
(anonymous) @ vue-router.mjs?v=153658cd? [sm]:3226
Promise.then (async)
pushWithRedirect @ vue-router.mjs?v=153658cd? [sm]:3193
push @ vue-router.mjs?v=153658cd? [sm]:3118
install @ vue-router.mjs?v=153658cd? [sm]:3559
use @ vue.runtime.esm.js? [sm]:5200
initRouter @ uni-h5.es.js? [sm]:15899
install @ uni-h5.es.js? [sm]:15968
use @ vue.runtime.esm.js? [sm]:5200
(anonymous) @ main.js:22
Show 34 more frames

2024-09-26 11:57 负责人:无 分享
已邀请:

要回复问题请先登录注册