uniapp/App.vue
@@ -82,7 +82,8 @@ }); */ APPUpdate(); // #endif this.getAppInfo() this.getAppInfo(); //this.that.bcInit(); let userInfo = uni.getStorageSync('userInfo') if (userInfo.id) { this.login(userInfo) @@ -191,6 +192,7 @@ const plug = uni.requireNativePlugin('xiguazhu-baichuan'); console.log(plug) plug.init({}, result => { //console.log('1111111111111111111'); console.log(result); // code等于0就是初始化成功 if(result.code==0) {