如题
index.vue内容
<template>
<view class=''>
<map ></map>
</view>
</template>
<script>
export default {
name: ''
}
</script>
<style lang='scss'>
</style>
运行app,保存一次两次然后就会发现报错了,白屏
15:07:35.890 Uncaught TypeError: Cannot read property 'id' of undefined at __uniapptabbar.html:10
15:07:35.910 Uncaught TypeError: Cannot read property '__needTouchEvent__' of undefined at __uniapptabbar.html:1
15:07:36.370 07:31.084 25289 25430 E console : [ERROR] reportJSException >>>> exception function:createInstance, exception:Exception: TypeError: undefined is not an object (evaluating 'this.__callbacks__[e]')
15:07:36.390 07:31.084 25289 25430 E console : addEventListener@weex service:3:16424
15:07:36.410 07:31.084 25289 25430 E console : addEventListener@weex service:3:101603
15:07:36.430 07:31.084 25289 25430 E console : (global function):6:84736
15:07:36.450 07:31.084 25289 25430 E console : (global function):6:85014
15:07:36.497 07:31.084 25289 25430 E console : (global function):6:85376
15:07:36.497 07:31.084 25289 25430 E console : (global function):6:85379
15:07:36.510 07:31.084 25289 25430 E console : anonymous@(global function):14505:7
15:07:36.530 07:31.084 25289 25430 E console : (weex framework):1:41522
15:07:36.550 07:31.084 25289 25430 E console : createInstance@(weex framework):1:41533
15:07:36.570 07:31.084 25289 25430 E console : (weex framework):1:178096
15:07:36.590 07:31.084 25289 25430 E console :
15:07:36.610 07:31.084 25289 25430 E console : getTemplateInfo== template md5 6ae5f8183774709b8fbba637d4208759 length 6824273 base64 md5 auX4GDd0cJuPu6Y31CCHWQ== response header {"templateSourceBase64MD5":["auX4GDd0cJuPu6Y31CCHWQ=="],"templateSourceMD5":["6ae5f8183774709b8fbba637d4208759"]}
之前是没有这个问题的,更新之后2.0.4.20190706-alpha和2.0.2都有这个问题
1 个回复
DCloud_App_Array
请提供复现问题的示例应用。