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 | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/views/login.vue b/src/views/login.vue
index 272c39b..cb4c138 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -36,6 +36,7 @@
/>
</el-input>
</el-form-item>
+ <!-- 涓�===================姘� -->
<el-form-item prop="guid">
<el-select style="width: 100%;" v-model="loginForm.guid" placeholder="璇烽�夋嫨闄㈠尯">
<el-option
@@ -115,10 +116,9 @@
guid:'',
},
options: [
- { value: "1", label: "涓尰澶т簩闄�" },
- { value: "2", label: "涓尰澶т笁闄�" },
- { value: "3", label: "涓尰澶у洓闄�" },
- { value: "4", label: "涓尰澶т簲闄�" },],
+ { value: "1", label: "鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�" },
+ { value: "2", label: "涓芥按甯備腑鍖婚櫌" },
+ ],
loginRules: {
username: [
{ required: true, trigger: "blur", message: "璇疯緭鍏ユ偍鐨勮处鍙�" },
@@ -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