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); @@ -124,6 +131,7 @@ // 设置整个项目的背景色 page { background-color: #f5f5f5; height: 100%; } /* #endif */