|
@ -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){ |
|
|