From e85334bacd8ee7460a7d2bf81fe560a9d16b95c7 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期四, 16 七月 2020 13:14:01 +0800
Subject: [PATCH] 修复 生成器业务名 只会截取表下划线的最后一个 导致很多controller 会重名 问题

---
 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 9edccc9..b11460a 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.3