之前版本编译还正常 然后更新之后 再编译 报错指向这行
TypeError: Cannot read property 'wx' of undefined
at Object.1 (vendor.js?t=wechat&s=1678071271078&v=279e3b522a4f4eef6c7f2abb49cfff8c:1)
目标行显示:
var n = ["qy", "env", "error", "version", "lanDebug", "cloud", "serviceMarket", "router", "worklet"]
, r = ["lanDebug", "router", "worklet"]
, i = "undefined" !== typeof globalThis ? globalThis : function() {
return this
}()
, l = ["w", "x"].join("")
, o = i[l]
, u = o.getLaunchOptionsSync ? o.getLaunchOptionsSync() : null;
指向的是 ["w","x"] 这个位置?
o = i[l] 这个i[wx] 没有找到?
找不到原因这是为啥?
0 个回复