请求头多语言参数-版本号显示
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
></view>
|
||||
</view>
|
||||
<view class="version_box">
|
||||
<view> V1.2.0</view>
|
||||
<view> V{{newVersion}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -122,6 +122,7 @@ export default {
|
||||
},
|
||||
machineId: "",
|
||||
store_obj: {},
|
||||
newVersion:'',
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
@@ -131,6 +132,9 @@ export default {
|
||||
uni.showLoading();
|
||||
|
||||
// #ifdef APP-PLUS
|
||||
// console.log('eeeeee',uni.getSystemInfoSync().appWgtVersion);
|
||||
this.newVersion = uni.getSystemInfoSync().appWgtVersion;
|
||||
|
||||
let imelSet = []
|
||||
var Build = plus.android.importClass("android.os.Build");
|
||||
var SystemProperties = plus.android.importClass("android.os.SystemProperties");
|
||||
@@ -144,6 +148,7 @@ export default {
|
||||
|
||||
plus.device.getInfo({
|
||||
success: (e) => {
|
||||
|
||||
const imei = e.imei.split(",");
|
||||
imelSet.push(imei[0])
|
||||
this.machineId = imelSet.join(',');
|
||||
|
Reference in New Issue
Block a user