|
@@ -24,7 +24,7 @@
|
|
|
</form>
|
|
|
</view>
|
|
|
<view class="copright">
|
|
|
- <view>系统版本:1.0.0</view>
|
|
|
+ <view>系统版本:{{version}}</view>
|
|
|
<view>Copyright © 2023 陕西山海高科信息技术有限公司</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -38,7 +38,8 @@
|
|
|
return {
|
|
|
showPassword: false,
|
|
|
username: '',
|
|
|
- password: ''
|
|
|
+ password: '',
|
|
|
+ version: ''
|
|
|
};
|
|
|
},
|
|
|
onLoad() {
|
|
@@ -50,6 +51,8 @@
|
|
|
plus.runtime.getProperty(plus.runtime.appid,(wgtinfo)=>{
|
|
|
wgtinfo.platform = res.platform
|
|
|
getApp().globalData.version = wgtinfo
|
|
|
+ const curr_version = wgtinfo && wgtinfo.version || ''
|
|
|
+ this.version = curr_version
|
|
|
})
|
|
|
}
|
|
|
})
|