cuiqian2004
2025-08-29 7662665a4f88da0f8afa804bd4a34dfbefc1fb56
pages/index/index.vue
@@ -37,6 +37,8 @@
      Base64
   } from '@/js/Base64.js';
   import utils from "@/js/utils.js"
   import {showInfo,
      showError} from "@/js/Page.js"
   import {
      areaFunc
   } from "@/api/index.js"
@@ -117,16 +119,8 @@
               }
            } catch (ex) {
               console.log(ex);
               let exStr = JSON.stringify(ex)
               if (exStr == "{}")
                  exStr = ex
               let tip = typeof ex.errMsg == "string" ? ex.errMsg : exStr
               uni.showModal({
                  title: this.translateSys("error"),
                  content: tip,
                  showCancel: false,
                  confirmText: this.translateSys('close')
               });
               showError(ex,this.translateSys("error"))
            }
@@ -145,17 +139,7 @@
               else
                  return undefined
            } catch (ex) {
               console.log(ex);
               let exStr = JSON.stringify(ex)
               if (exStr == "{}")
                  exStr = ex
               let tip = typeof ex.errMsg == "string" ? ex.errMsg : exStr
               uni.showModal({
                  title: this.translateSys("error"),
                  content: tip,
                  showCancel: false,
                  confirmText: this.translateSys('close')
               });
               showError( tip)
               return undefined
            }
         },
@@ -184,12 +168,8 @@
            }
            if (!param) {
               uni.showModal({
                  title: this.translateSys("tip"),
                  content: this.translate('tip_no_app_param'),
                  showCancel: false,
                  confirmText: this.translateSys('close')
               });
               showInfo(this.translate('tip_no_app_param'))
               return;
            }
            if (defCode == '3018') {