From b779cf053df9f75e2edffcad4a01070d9f2a021e Mon Sep 17 00:00:00 2001
From: 若依 <yzz_ivy@163.com>
Date: Mon, 02 Nov 2020 17:30:06 +0800
Subject: [PATCH] !112 未选择时,点击“确认”,出现必填验证提示。使用blur的话,选择之后验证消息不会自动消失,使用change会自动消失。 Merge pull request !112 from FlyFive/N/A
---
ruoyi-ui/src/layout/components/Navbar.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ruoyi-ui/src/layout/components/Navbar.vue b/ruoyi-ui/src/layout/components/Navbar.vue
index 5c4a315..db46ec5 100644
--- a/ruoyi-ui/src/layout/components/Navbar.vue
+++ b/ruoyi-ui/src/layout/components/Navbar.vue
@@ -33,8 +33,8 @@
<router-link to="/user/profile">
<el-dropdown-item>个人中心</el-dropdown-item>
</router-link>
- <el-dropdown-item>
- <span @click="setting = true">布局设置</span>
+ <el-dropdown-item @click.native="setting = true">
+ <span>布局设置</span>
</el-dropdown-item>
<el-dropdown-item divided @click.native="logout">
<span>退出登录</span>
@@ -94,7 +94,7 @@
type: 'warning'
}).then(() => {
this.$store.dispatch('LogOut').then(() => {
- location.reload()
+ location.href = '/index';
})
})
}
--
Gitblit v1.9.2