lin
2026-05-18 e3ed35b53e2179a1e328daa8b53a7ece77b7161c
App.vue
@@ -35,10 +35,10 @@
                        url: '/pages/login/login'
                     })
                     return false
               }
               uni.setStorageSync('Config', JSON.stringify(res.data))
               // #ifdef APP-PLUS
               //机型
               let platform = uni.getSystemInfoSync().platform.toLocaleLowerCase()
@@ -59,17 +59,17 @@
                     updesc = res.data.android.desc
                  }
                  if (downUrl && updateFlag) {
                     uni.showModal({
                        showCancel: false,
                        confirmText: '立即更新',
                        title: '温馨提示!',
                        content: updesc || '有最新版本,请更新APP!',
                        success: res => {
                           if (res.confirm) {
                              plus.runtime.openURL(downUrl)
                           }
                        }
                     })
                     // uni.showModal({
                     //    showCancel: false,
                     //    confirmText: '立即更新',
                     //    title: '温馨提示!',
                     //    content: updesc || '有最新版本,请更新APP!',
                     //    success: res => {
                     //       if (res.confirm) {
                     //          plus.runtime.openURL(downUrl)
                     //       }
                     //    }
                     // })
                  }
               })
               // #endif
@@ -115,4 +115,4 @@
</style>
<style lang="scss">
   @import '@/uni_modules/uv-ui-tools/index.scss';
</style>
</style>