|
@@ -26,7 +26,7 @@
|
|
|
</view>
|
|
|
<view class="action text-gray-5">v{{appInfo.appVersion}}</view>
|
|
|
</view>
|
|
|
- <view class="cu-item">
|
|
|
+ <view class="cu-item" @click="detectUpgrades">
|
|
|
<view class="content hc-flex">
|
|
|
<text class="i-ri-rocket-fill text-cyan text-32 mr-1"/>
|
|
|
<text class="text-gray-4">检测升级</text>
|
|
@@ -82,4 +82,9 @@ const fillSwitchChange = ({detail}) => {
|
|
|
})
|
|
|
appCheck.value = detail.value
|
|
|
}
|
|
|
+
|
|
|
+//检测升级
|
|
|
+const detectUpgrades = () => {
|
|
|
+ store.setOnUpdate(new Date().getTime())
|
|
|
+}
|
|
|
</script>
|