收藏
回答

使用weui,在2.10.4基础库上出现渲染错误

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug mp-icon,mp-loading,mp-actionSheet 工具 7.0.21.1800 2.10.4

"useExtendedLib": {

"weui": true

},

"usingComponents": {

"mp-icon": "weui-miniprogram/icon/icon",

"mp-loading": "weui-miniprogram/loading/loading",

"mp-actionSheet": "weui-miniprogram/actionsheet/actionsheet"

},

<mp-icon icon="add2" class='addIcon' type="field" color="#6cb1eb" size="{{25}}"></mp-icon>

<mp-loading type="circle" class='loading' tips="{{''}}" wx:if="{{isGettingStatus}}"></mp-loading>


[渲染层错误] TypeError: Cannot read property 'replace' of undefined

    at rewritor (http://127.0.0.1:41300/__pageframe__/__extendedlib__/weui/latest/pageframe.js:176:44)

    at http://127.0.0.1:41300/__pageframe__/__extendedlib__/weui/latest/pageframe.js:194:127

[渲染层错误] webviewScriptError

Cannot read property 'replace' of undefined

TypeError: Cannot read property 'replace' of undefined

    at rewritor (http://127.0.0.1:41300/__pageframe__/__extendedlib__/weui/latest/pageframe.js:176:44)

    at http://127.0.0.1:41300/__pageframe__/__extendedlib__/weui/latest/pageframe.js:194:127

[渲染层错误] Uncaught

回答关注问题邀请回答
收藏

3 个回答

登录 后发表内容
问题标签