From f5d67b69142c78be1ee996f53b6bb8e4c954761c Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: 星期三, 15 十一月 2023 10:06: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