微信小程序TS+SASS使用vant导致体验版白屏SystemError (jsEnginScriptError) X(…).bem is not a function
- 目前这个问题vant v1.11.2已经修复了,涉及到的field已经无异常,1.11.1版本的vant有错位的问题
完整报错信息:
SystemError (jsEnginScriptError)
X(...).bem is not a function
TypeError: X(...).bem is not a function
at (appservice.app.js:255:21970)
at (common.app.js:1:30767)
at Object.C (appservice.app.js:255:21761)
at (@vant/weapp/field/index.appservice.js:1:2805)
at t.handleChildrenCreation (common.app.js:1:30528)
at (common.app.js:1:31877)
at (@vant/weapp/field/index.appservice.js:1:2711)
at t.handleChildrenCreation (common.app.js:1:30528)
at (common.app.js:1:30777)
at (@vant/weapp/field/index.appservice.js:1:2269)
这是因为小程序这个框架使用的是skyline
导致,删掉下面的部分就可以重新预览发布了
新发现是glass-easel
引起,去掉即可