li.shaoyi il y a 2 ans
Parent
commit
bff988b3b0

+ 2 - 2
oem/gcszt/config/appconfig.json

@@ -1,8 +1,8 @@
 {
 {
   "appId": "com.muchinfo.gcszt",
   "appId": "com.muchinfo.gcszt",
   "appName": "贵茶数字通",
   "appName": "贵茶数字通",
-  "version": "1.0.2",
-  "versionCode": "100002",
+  "version": "1.0.3",
+  "versionCode": "100003",
   "apiUrl": "http://192.168.31.204:8080/cfg?key=test_204",
   "apiUrl": "http://192.168.31.204:8080/cfg?key=test_204",
   "tradeChannel": "ws",
   "tradeChannel": "ws",
   "modules": [
   "modules": [

+ 2 - 2
oem/tjmd/config/appconfig.json

@@ -1,8 +1,8 @@
 {
 {
   "appId": "com.muchinfo.tjmd",
   "appId": "com.muchinfo.tjmd",
   "appName": "海南掉期市场",
   "appName": "海南掉期市场",
-  "version": "1.0.14",
-  "versionCode": "100014",
+  "version": "1.0.15",
+  "versionCode": "100015",
   "apiUrl": "http://192.168.31.132:8080/cfg?key=test_132",
   "apiUrl": "http://192.168.31.132:8080/cfg?key=test_132",
   "tradeChannel": "ws",
   "tradeChannel": "ws",
   "modules": [
   "modules": [

+ 3 - 4
src/packages/mobile/components/base/updater/index.vue

@@ -24,7 +24,7 @@ const props = defineProps({
 })
 })
 
 
 const show = shallowRef(false)
 const show = shallowRef(false)
-const hidden = shallowRef(false) // 是否隐藏对话框
+const pending = shallowRef(true) // 是否进行中状态
 const showConfirmButton = shallowRef(true)
 const showConfirmButton = shallowRef(true)
 const message = shallowRef('')
 const message = shallowRef('')
 const confirmButtonText = shallowRef('')
 const confirmButtonText = shallowRef('')
@@ -54,7 +54,6 @@ const onConfirm = () => {
         show.value = false
         show.value = false
         plus.installApp(fileUrl.value)
         plus.installApp(fileUrl.value)
     } else if (confirmButtonText.value === '隐藏') {
     } else if (confirmButtonText.value === '隐藏') {
-        hidden.value = true
         show.value = false
         show.value = false
     } else {
     } else {
         message.value = ''
         message.value = ''
@@ -67,7 +66,7 @@ const onConfirm = () => {
             message.value = err
             message.value = err
             showConfirmButton.value = false
             showConfirmButton.value = false
         }).finally(() => {
         }).finally(() => {
-            show.value = hidden.value
+            show.value = pending.value
         })
         })
     }
     }
 }
 }
@@ -77,7 +76,7 @@ const onCancel = () => {
         plus.deleteFile(fileUrl.value)
         plus.deleteFile(fileUrl.value)
     }
     }
     ondownload.cancel()
     ondownload.cancel()
-    hidden.value = false
+    pending.value = false
     show.value = false
     show.value = false
 }
 }