Cannot read property ‘replace‘ of undefined小程序报错

在这里插入图片描述

VM1226 WAService.js:2 TypeError: Cannot read property 'replace' of undefined
    at e.onShow (app.js? [sm]:37)
    at e.<anonymous> (VM1226 WAService.js:2)
    at De (VM1226 WAService.js:2)
    at new e (VM1226 WAService.js:2)
    at Function.<anonymous> (VM1226 WAService.js:2)
    at VM1226 WAService.js:2
    at app.js? [sm]:6
    at require (VM1226 WAService.js:2)
    at <anonymous>:3:7
    at doWhenAllScriptLoaded (<anonymous>:245:21)(env: Windows,mp,1.05.2105170; lib: 2.14.1)

试了版本更新没用

是因为是undefined
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/syiting/article/details/117256465