袁磊 3 weeks ago
parent
commit
f5c5a639b2
  1. 4
      App.vue

4
App.vue

@ -7,7 +7,7 @@
// appId // appId
appId: "nine-demo-im", appId: "nine-demo-im",
// //
platform: "android",
os: "android",
// //
msgTabBarIndex: 0, msgTabBarIndex: 0,
// //
@ -29,7 +29,7 @@
initConfig(options) { initConfig(options) {
// //
this.globalData.systemInfo = uni.getSystemInfoSync() this.globalData.systemInfo = uni.getSystemInfoSync()
this.globalData.platform = this.globalData.systemInfo.platform
this.globalData.os = this.globalData.systemInfo.platform
// #ifdef APP-PLUS // #ifdef APP-PLUS
plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => { plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => {
if(wgtinfo.version){ if(wgtinfo.version){

Loading…
Cancel
Save