我用手机预览后, 如下图, 小程序一直在转圈, 而我的同学用手机预览之前的版本是可以的, 预览我现在的版本也在转圈.
期间我做的改变有把vant库从1.3.3更新到了1.11.1, 并且重新构建了.
在我负责的页面添加了一些vant 1.11.1才有的标签页组件等
从手机预览, 会有一个vConsole的界面, 里面有个报错显示:
SystemError (jsEnginScriptError)
X(D.utils).bem is not a function. (In 'X(D.utils).bem("field__control",[D.inputAlign,D.type,{disabled:D.disabled,error:D.error}])', 'X(D.utils).bem' is undefined)
TypeError: X(D.utils).bem is not a function. (In 'X(D.utils).bem("field__control",[D.inputAlign,D.type,{disabled:D.disabled,error:D.error}])', 'X(D.utils).bem' is undefined)
at (appservice.app.js:210:26420)
at (common.app.js:1:30768)
at C (appservice.app.js:210:26209)
at (@vant/weapp/field/index.appservice.js:1:2798)
at (common.app.js:1:30529)
at (common.app.js:1:31899)
at (@vant/weapp/field/index.appservice.js:1:2704)
at (common.app.js:1:30529)
at (common.app.js:1:30799)
at (@vant/weapp/field/index.appservice.js:1:2262)
at (common.app.js:1:30529)
at (common.app.js:1:30799)
at C (@vant/weapp/field/index.appservice.js:1:705)
at (common.app.js:1:30529)
at (common.app.js:1:30210)
at oo (WASubContext.js:1:361656)
at (WASubContext.js:1:369642)
at (WASubContext.js:1:255935)
at (WASubContext.js:1:256877)
at (WASubContext.js:1:272369)
at io (WASubContext.js:1:362993)
at so (WASubContext.js:1:363910)
at so (WASubContext.js:1:364088)
at so (WASubContext.js:1:364088)
at so (WASubContext.js:1:364088)
at createInstance (WASubContext.js:1:368884)
at (WASubContext.js:1:258358)
at (WASubContext.js:1:272369)
at io (WASubContext.js:1:362993)
at so (WASubContext.js:1:363910)
at so (WASubContext.js:1:364088)
at so (WASubContext.js:1:364088)
at so (WASubContext.js:1:364088)
at createInstance (WASubContext.js:1:368884)
at (WASubContext.js:1:258358)
at (WASubContext.js:1:260592)
at Ji (WASubContext.js:1:416962)
at fs (WASubContext.js:1:425292)
at create (WASubContext.js:1:466380)
at (WASubContext.js:1:478292)
at (WASubContext.js:1:442765)
at (WASubContext.js:1:480570)
at (WASubContext.js:1:442765)
at (WASubContext.js:1:485809)
at (WASubContext.js:1:442765)
at br (WASubContext.js:1:486475)
at (WASubContext.js:1:441838)
at (WAServiceMainContext.js:1:618951)
at emitInternal (WAServiceMainContext.js:1:624187)
at Qx (WAServiceMainContext.js:1:918617)
at O (WAServiceMainContext.js:1:1864600)
at (WAServiceMainContext.js:1:1865461)
at (WAServiceMainContext.js:1:957915)
at (WAServiceMainContext.js:1:619050)
at emit (WAServiceMainContext.js:1:624095)
at (WAServiceMainContext.js:1:625142)
at (WAServiceMainContext.js:1:615422)
at emit (WAServiceMainContext.js:1:119125)
at emit (native code)
at emit (WAServiceMainContext.js:1:118744)
at subscribeHandler (WAServiceMainContext.js:1:122230)
如图: