...
|
...
|
@@ -9,7 +9,6 @@ import commonModel from './models/common'; |
|
|
import { stringify } from './vendors/query-stringify';
|
|
|
import './router/index';
|
|
|
import Yas from './common/yas';
|
|
|
import config from './config';
|
|
|
|
|
|
let yas;
|
|
|
|
...
|
...
|
@@ -300,8 +299,7 @@ App({ |
|
|
return this.globalData.unionShop && this.globalData.unionShop.appType;
|
|
|
},
|
|
|
getAppId() {
|
|
|
// 兼容处理: 解决手机扫码预览无法获取 wx.getExtConfigSync()
|
|
|
return wx.getExtConfigSync().extAppid || config.previewExtAppid;
|
|
|
return wx.getExtConfigSync().extAppid;
|
|
|
},
|
|
|
getSystemInfo() {
|
|
|
return this.globalData.systemInfo;
|
...
|
...
|
|