zhouwenxuan
2023-12-15 277d6652893fcc10fb6827b62ef16fe2910a525c
App.vue
@@ -3,6 +3,13 @@
var jpushModule = uni.requireNativePlugin("JG-JPush")
   export default {
         onLaunch: function() {
             //#ifdef APP-PLUS
              plus.runtime.getProperty(plus.runtime.appid, wgtinfo => {
                   uni.setStorageSync('version', wgtinfo.version)
                 console.log("version",wgtinfo.version)
                 })
              //#endif
            console.log('App Launch',jpushModule)
            jpushModule.initJPushService();
            jpushModule.setLoggerEnable(true);