SystemError (jsEnginScriptError) X(...).bem is not a function TypeError: X(...).bem is not a function at (appservice.app.js:613:57181) at (common.app.js:1:30767) at Object.C (appservice.app.js:613:56972) at (vant/field/index.appservice.js:1:2747) at t.handleChildrenCreation (common.app.js:1:30528) at (common.app.js:1:31868) at (vant/field/index.appservice.js:1:2663) at t.handleChildrenCreation (common.app.js:1:30528) at (common.app.js:1:30777) at (vant/field/index.appservice.js:1:2221)
你看看是不是这个BUG
https://github.com/youzan/vant-weapp/issues/5629
这是field的wxml里面有个wxs没引入, popup组件有同样的问题
在开发工具里npm构建了没 ?
X(...).bem is not a function
TypeError: X(...).bem is not a function
at (appservice.app.js:613:57181)
at (common.app.js:1:30767)
at Object.C (appservice.app.js:613:56972)
at (vant/field/index.appservice.js:1:2747)
at t.handleChildrenCreation (common.app.js:1:30528)
at (common.app.js:1:31868)
at (vant/field/index.appservice.js:1:2663)
at t.handleChildrenCreation (common.app.js:1:30528)
at (common.app.js:1:30777)
at (vant/field/index.appservice.js:1:2221)
这是体验版 报错信息
发个代码片段看看。