cuiqian2004
2025-03-14 00814401bba75825126baa6675e542ea3c82a5bb
pages/login/index.vue
@@ -148,7 +148,7 @@
                     title: this.translateSys("tip"),
                     content: this.translate("tip_no_web_server"),
                     showCancel: false,
                     confirmText: this.translateSys('cancel')
                     confirmText: this.translateSys('close')
                  });
                  return;
               }
@@ -174,7 +174,7 @@
                  title: this.translateSys("error"),
                  content: tip,
                  showCancel: false,
                  confirmText: this.translateSys("cancel")
                  confirmText: this.translateSys('close')
               });
            }
@@ -343,7 +343,7 @@
                     title: this.translateSys('tip'),
                     content: this.translate('tip_no_web_server'),
                     showCancel: false,
                     confirmText: this.translateSys('cancel')
                     confirmText: this.translateSys('close')
                  });
                  return;
               }
@@ -352,7 +352,7 @@
                     title: this.translateSys('tip'),
                     content: this.translate('tip_no_user_account'),
                     showCancel: false,
                     confirmText: this.translateSys('cancel')
                     confirmText: this.translateSys('close')
                  });
                  return;
               }
@@ -361,7 +361,7 @@
                     title: this.translateSys('tip'),
                     content: this.translate('tip_no_user_password'),
                     showCancel: false,
                     confirmText: this.translateSys('cancel')
                     confirmText: this.translateSys('close')
                  });
                  return;
               }
@@ -398,13 +398,12 @@
                  title: this.translateSys("error"),
                  content: tip,
                  showCancel: false,
                  confirmText: this.translateSys("cancel")
                  confirmText: this.translateSys('close')
               });
            }
         },
         onClickWms()
         {
         onClickWms() {
            let otherAppSchemeURL = "testapp://pages/index/index"; // 替换为目标app的scheme URL
            plus.runtime.openURL(otherAppSchemeURL, function(error) {
               console.error('打开应用失败: ', error);
@@ -421,14 +420,7 @@
      },
      onLoad(options) {
         //获取mac地址
         let tip=`login:account:${options.account || ""},password:${options.password || ""}`
         // console.log(options);
         uni.showModal({
            title: "参数",
            content: tip,
            showCancel: false,
            confirmText:"cancel"
         });
         var url = utils.session.getValue('server');
         var username = utils.session.getValue('account');
         var userpwd = utils.session.getValue('password');