|
@@ -51,7 +51,6 @@ App({
|
|
}
|
|
}
|
|
this.login(shareUid, userChannelCode)
|
|
this.login(shareUid, userChannelCode)
|
|
}
|
|
}
|
|
- this.initPlugin()
|
|
|
|
},
|
|
},
|
|
async login(shareUid, userChannelCode = '3001') {
|
|
async login(shareUid, userChannelCode = '3001') {
|
|
let uid = wx.getStorageSync('uid')
|
|
let uid = wx.getStorageSync('uid')
|
|
@@ -214,7 +213,7 @@ App({
|
|
console.log("插件ID:" + miniAppPluginId)
|
|
console.log("插件ID:" + miniAppPluginId)
|
|
wx.miniapp.loadNativePlugin({
|
|
wx.miniapp.loadNativePlugin({
|
|
pluginId: miniAppPluginId,
|
|
pluginId: miniAppPluginId,
|
|
- success: (plugin) => {
|
|
|
|
|
|
+ success: (plugin) => {
|
|
console.log('load plugin success', plugin)
|
|
console.log('load plugin success', plugin)
|
|
plugin.initPlugin(({}), (res) => {
|
|
plugin.initPlugin(({}), (res) => {
|
|
if (res === "success") {
|
|
if (res === "success") {
|