From b1d81d016019a2c59e445dd6752c9134e184c8c4 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 31 十二月 2024 14:16:31 +0800
Subject: [PATCH] 测试完成

---
 src/views/login.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/views/login.vue b/src/views/login.vue
index 143db87..cb4c138 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -37,7 +37,7 @@
         </el-input>
       </el-form-item>
       <!-- 涓�===================姘� -->
-      <!-- <el-form-item prop="guid">
+      <el-form-item prop="guid">
         <el-select style="width: 100%;" v-model="loginForm.guid"  placeholder="璇烽�夋嫨闄㈠尯">
           <el-option
             v-for="item in options"
@@ -48,7 +48,7 @@
           </el-option>
           <i slot="prefix" class="el-icon-mobile"></i>
         </el-select>
-      </el-form-item> -->
+      </el-form-item>
       <!-- <el-form-item prop="code" v-if="captchaEnabled">
         <el-input
           v-model="loginForm.code"
@@ -126,7 +126,7 @@
         password: [
           { required: true, trigger: "blur", message: "璇疯緭鍏ユ偍鐨勫瘑鐮�" },
         ],
-        // guid: [{ required: true, trigger: "blur", message: "璇烽�夋嫨闄㈠尯" }],
+        guid: [{ required: true, trigger: "blur", message: "璇烽�夋嫨闄㈠尯" }],
       },
       loading: false,
       // 楠岃瘉鐮佸紑鍏�
@@ -195,7 +195,8 @@
           this.$store
             .dispatch("Login", this.loginForm)
             .then(() => {
-              this.$router.push({ path: this.redirect || "/" }).catch(() => {});
+              // this.$router.push({ path: this.redirect || "/" }).catch(() => {});
+              this.$router.push({ path:"/patient/patient" }).catch(() => {});
             })
             .catch(() => {
               this.loading = false;

--
Gitblit v1.9.3