From 2cb26124675883fa1e2742ae7899c9fc791ed6a2 Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: Thu, 27 Jul 2023 14:27:43 +0800
Subject: [PATCH] 修改
---
pages/index/index.vue | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 700fec8..302c190 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -53,7 +53,6 @@
Login(){
this.isLogining = true;
login(this.form).then(res => {
- console.log("res",res)
if (res.code === 100) {
this.isLogining = false;
//登录成功后
@@ -66,7 +65,6 @@
uni.setStorageSync("uid",res.data.uid);
uni.setStorageSync('user', res.data);
uni.setStorageSync('roleName', res.data.role.roleName);
- console.log("登录--------",res.data.tk)
if(res.data.role.roleName == '工作人员'){
this.$store.commit('setRoleId', 'user_other');
uni.switchTab({
@@ -93,7 +91,6 @@
},
connect() {
uni.$on('connectStatusChange', (connectStatus) => {
- console.log('进入连接')
var connectStr = ''
if (connectStatus == true) {
connectStr = '已连接'
--
Gitblit v1.9.2