From e7b81924e3fa4d7c5a52484f465efa6733e8c402 Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: Thu, 26 Oct 2023 11:10:38 +0800
Subject: [PATCH] 防止重复点击
---
pages/index/index.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/pages/index/index.vue b/pages/index/index.vue
index dab79d2..2b9226a 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -70,7 +70,7 @@
}
},
onLoad() {
- // this.connect()
+ this.connect()
},
methods: {
Login(){
@@ -80,10 +80,10 @@
this.isLogining = false;
//登录成功后
//设置别名
- // jpushModule.setAlias({
- // 'alias': this.phone,
- // 'sequence': 1
- // })
+ jpushModule.setAlias({
+ 'alias': this.phone,
+ 'sequence': 1
+ })
uni.setStorageSync("name", this.form.name);
uni.setStorageSync("pwd", this.form.pwd);
uni.setStorageSync("tk", res.data.tk);
--
Gitblit v1.9.2