小程序中 uni.getLocation 查看地图返回后,
出现“[Vue warn]: Error in nextTick: "TypeError: Cannot read property 'u1zp' of null"” 的错误
![2***@qq.com](https://img-cdn-tc.dcloud.net.cn/account/identicon/aa1dbc74f9caf4230cb50ca9fd0040b0.png)
- 发布:2021-05-20 11:58
- 更新:2021-05-20 11:58
- 阅读:1378
【报Bug】小程序中 uni.getLocation 查看地图返回后, 出现“Error in nextTick: "TypeError: Cannot read property 的错误
产品分类: uniapp/小程序/微信
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 10.15
HBuilderX类型: 正式
HBuilderX版本号: 3.1.12
第三方开发者工具版本号: 3.1.12.20210428
基础库版本号: 3.1.12.20210428
项目创建方式: HBuilderX
操作步骤:
预期结果:
无错误
无错误
实际结果:
小程序中 uni.getLocation 查看地图返回后,
出现“[Vue warn]: Error in nextTick: "TypeError: Cannot read property 'u1zp' of null"” 的错误
小程序中 uni.getLocation 查看地图返回后,
出现“[Vue warn]: Error in nextTick: "TypeError: Cannot read property 'u1zp' of null"” 的错误
bug描述:
小程序中 uni.getLocation 查看地图返回后,
出现“[Vue warn]: Error in nextTick: "TypeError: Cannot read property 'u1zp' of null"” 的错误, 但是整个项目中也没有代码会访问“u1zp”这个属性, 完全找不到头绪。
具体错误信息
mp.runtime.esm.js?66fd:613 [Vue warn]: Error in nextTick: "TypeError: Cannot read property 'u1zp' of null"
warn @ mp.runtime.esm.js?66fd:613
Vue.config.errorHandler @ mp.runtime.esm.js?66fd:5816
globalHandleError @ mp.runtime.esm.js?66fd:1878
handleError @ mp.runtime.esm.js?66fd:1847
(anonymous) @ mp.runtime.esm.js?66fd:1986
flushCallbacks @ mp.runtime.esm.js?66fd:1912
(anonymous) @ VM3721 WAService.js:2
r @ VM3721 WAService.js:2
Promise.then (async)
a @ VM3721 WAService.js:2
e.exports @ VM3721 WAService.js:2
Z @ VM3721 WAService.js:2
then @ VM3721 WAService.js:2
timerFunc @ mp.runtime.esm.js?66fd:1939
nextTick @ mp.runtime.esm.js?66fd:1994
queueWatcher @ mp.runtime.esm.js?66fd:4342
update @ mp.runtime.esm.js?66fd:4484
notify @ mp.runtime.esm.js?66fd:727
reactiveSetter @ mp.runtime.esm.js?66fd:1063
proxySetter @ mp.runtime.esm.js?66fd:4571
(anonymous) @ AppService.js:315
fetchFromCache @ AppService.js:258
fetchFromCacheForPage @ AppService.js:311
fetchDetail @ Company.js:20
onShow @ detail.vue:237
invokeWithErrorHandling @ mp.runtime.esm.js?66fd:1862
Vue.__call_hook @ mp.runtime.esm.js?66fd:5873
_vue.default.__call_hook @ index.js?543d:1284
mpOptions.<computed> @ index.js?543d:767
(anonymous) @ VM3721 WAService.js:2
r.__callPageLifeTime__ @ VM3721 WAService.js:2
(anonymous) @ VM3721 WAService.js:2
c.emit @ VM3721 WAService.js:2
emitInternal @ VM3721 WAService.js:2
(anonymous) @ VM3721 WAService.js:2
c.emit @ VM3721 WAService.js:2
emit @ VM3721 WAService.js:2
v @ VM3721 WAService.js:2
(anonymous) @ VM3721 WAService.js:2
c.emit @ VM3721 WAService.js:2
emit @ VM3721 WAService.js:2
(anonymous) @ VM3721 WAService.js:2
(anonymous) @ VM3721 WAService.js:2
c @ VM8 asdebug.js:1
l @ VM8 asdebug.js:1
(anonymous) @ VM8 asdebug.js:1
f @ VM8 asdebug.js:1
g @ VM8 asdebug.js:1
(anonymous) @ VM8 asdebug.js:1
_ws.onmessage @ VM8 asdebug.js:1
Show 19 more frames
mp.runtime.esm.js?66fd:5817 TypeError: Cannot read property 'u1zp' of null
at g (VM3721 WAService.js:2)
at e.value (VM3721 WAService.js:2)
at e.value (VM3721 WAService.js:2)
at u._updateCb (VM3721 WAService.js:2)
at u.doUpdates (VM3721 WAService.js:2)
at a.m.setData (VM3721 WAService.js:2)
at vt.<anonymous> (VM3721 WAService.js:2)
at VueComponent.patch [as __patch__] (mp.runtime.esm.js?66fd:5649)
at VueComponent.Vue._update (mp.runtime.esm.js?66fd:3959)
at VueComponent.updateComponent (mp.runtime.esm.js?66fd:5700)
Vue.config.errorHandler @ mp.runtime.esm.js?66fd:5817
globalHandleError @ mp.runtime.esm.js?66fd:1878
handleError @ mp.runtime.esm.js?66fd:1847
(anonymous) @ mp.runtime.esm.js?66fd:1986
flushCallbacks @ mp.runtime.esm.js?66fd:1912
(anonymous) @ VM3721 WAService.js:2
r @ VM3721 WAService.js:2
Promise.then (async)
a @ VM3721 WAService.js:2
e.exports @ VM3721 WAService.js:2
Z @ VM3721 WAService.js:2
then @ VM3721 WAService.js:2
timerFunc @ mp.runtime.esm.js?66fd:1939
nextTick @ mp.runtime.esm.js?66fd:1994
queueWatcher @ mp.runtime.esm.js?66fd:4342
update @ mp.runtime.esm.js?66fd:4484
notify @ mp.runtime.esm.js?66fd:727
reactiveSetter @ mp.runtime.esm.js?66fd:1063
proxySetter @ mp.runtime.esm.js?66fd:4571
(anonymous) @ AppService.js:315
fetchFromCache @ AppService.js:258
fetchFromCacheForPage @ AppService.js:311
fetchDetail @ Company.js:20
onShow @ detail.vue:237
invokeWithErrorHandling @ mp.runtime.esm.js?66fd:1862
Vue.__call_hook @ mp.runtime.esm.js?66fd:5873
_vue.default.__call_hook @ index.js?543d:1284
mpOptions.<computed> @ index.js?543d:767
(anonymous) @ VM3721 WAService.js:2
r.__callPageLifeTime__ @ VM3721 WAService.js:2
(anonymous) @ VM3721 WAService.js:2
c.emit @ VM3721 WAService.js:2
emitInternal @ VM3721 WAService.js:2
(anonymous) @ VM3721 WAService.js:2
c.emit @ VM3721 WAService.js:2
emit @ VM3721 WAService.js:2
v @ VM3721 WAService.js:2
(anonymous) @ VM3721 WAService.js:2
c.emit @ VM3721 WAService.js:2
emit @ VM3721 WAService.js:2
(anonymous) @ VM3721 WAService.js:2
(anonymous) @ VM3721 WAService.js:2
c @ VM8 asdebug.js:1
l @ VM8 asdebug.js:1
(anonymous) @ VM8 asdebug.js:1
f @ VM8 asdebug.js:1
g @ VM8 asdebug.js:1
(anonymous) @ VM8 asdebug.js:1
_ws.onmessage @ VM8 asdebug.js:1
Show 18 more frames
AppService.js:191
0 个回复