From 00814401bba75825126baa6675e542ea3c82a5bb Mon Sep 17 00:00:00 2001 From: cuiqian2004 <cuiqian2004@163.com> Date: 星期五, 14 三月 2025 12:19:39 +0800 Subject: [PATCH] 日期 --- pages/login/index.vue | 24 ++++++++---------------- 1 files changed, 8 insertions(+), 16 deletions(-) diff --git a/pages/login/index.vue b/pages/login/index.vue index de15e2d..1cb579e 100644 --- a/pages/login/index.vue +++ b/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"; // 鏇挎崲涓虹洰鏍嘺pp鐨剆cheme 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'); -- Gitblit v1.9.1