微信小程序开发的差不多了,现在公司又让适配支付宝小程序,编译到支付宝小程序最新版异常看前两张图,HX和模拟器能够编译通过,但是,控制台提示似乎有问题,任何代码好像都没执行,模拟器页面一直加载,不出效果。
现在把支付宝小程序开发者工具降级到3.0.2,HX编译没问题,但是控制台报错 Module build failed (from C:/snapshot/code-repo/out/target/bundle/node_modules/@ali/antcube-thread-loader/lib/cjs.js):
Thread Loader (Worker 0)
SyntaxError: e:/newCode618/miniApp/unpackage/dist/dev/mp-alipay/part_pageA/cart_settlement/cart_settlement.axml: Unexpected token (28:7)
26 | const UPopup_ = $getComponentClass("/unimodules/uview-ui/components/u-popup/u-popup")
27 | const UPopup = UPopup || $EmptyComponentFactory("u-popup");
28 | const U-Textarea_ = $getComponentClass("/uni_modules/uview-ui/components/u--textarea/u--textarea")
好像是uView的问题,我用的是Uview2
还一个TypeError: Cannot read properties of null (reading 'addEventListener')
at lyra-resource://hammer.min.js:formatted:58
at Array.forEach (<anonymous>)
这两个报错
求官方大大解决啊,急求
7***@qq.com (作者)
关键你这压根都没解决,一堆坑
2022-11-10 08:32