增加版本

h5
wangdong 10 months ago
parent 88cfd930bd
commit 33fa7e04b9
  1. 7
      pages/news1/setting.vue

@ -68,7 +68,7 @@
<view class="name-text">
当前版本
</view>
<text>{{ systemInfo.version }}</text>
<text>{{ accountInfo.miniProgram.version }}</text>
</view>
</view>
<view class="box" style="padding: 0 40rpx;" @click="onOut">
@ -111,7 +111,7 @@ export default {
imageList: [],
avatar_id: [],
nick_name: '',
systemInfo: {},
accountInfo: {},
};
},
onShow() { },
@ -119,8 +119,7 @@ export default {
console.log(uni.getStorageSync("userInfo"))
this.info = uni.getStorageSync("userInfo")
this.genderIndex = this.info.gender == '男' ? 0 : 1
this.systemInfo = uni.getSystemInfoSync();
console.log({...this.systemInfo});
this.accountInfo = uni.getAccountInfoSync();
},
methods: {
formSubmit(e) {

Loading…
Cancel
Save