common/main.js: TypeError: window.WeixinJSBridge.beforeinvoke is not a function 小程序工具项目运行报错

小程序项目启动成功,但是项目空白 切报错

 报错信息:
 common/main.js:
 TypeError: window.WeixinJSBridge.beforeinvoke is not a functionVM304 WAService.js:1 TypeError: window.WeixinJSBridge.beforeinvoke is not a function
 和
 Unhandled promise rejection TypeError: WebAssembly.instantiate(): Argument 0 must be a buffer source or a WebAssembly.Module object
    at Object.t.wasm_initialize (VM304 WAService.js:1)

报错如图
在这里插入图片描述

解决办法:这里是引用

猜你喜欢

转载自blog.csdn.net/i_am_a_div/article/details/128937881
今日推荐