|
@@ -114,7 +114,7 @@
|
|
|
<image src="../../static/images/myimg/gengduo1@3x.png" class="arrow"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="flex flex-space-between" @click="goDetailPage('/pages/mine/set')">
|
|
|
+ <view class="flex flex-space-between">
|
|
|
<view class="flex align-center">
|
|
|
<image class="img" src="@/static/images/mine/appUpdate.png" mode='widthFix'>
|
|
|
</image>
|
|
@@ -294,8 +294,9 @@
|
|
|
},
|
|
|
method: 'GET',
|
|
|
success: (res) => {
|
|
|
- if (this.version == res.data.data.version) {
|
|
|
- this.version = "当前为最新版" + this.version
|
|
|
+ var versionNo = plus.runtime.version
|
|
|
+ if (versionNo == res.data.data.version) {
|
|
|
+ this.version = "当前为最新版" + res.data.data.version
|
|
|
} else {
|
|
|
this.version = "发现新版本,立即更新"
|
|
|
}
|