File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
ruoyi-fastapi-frontend/src/layout/components Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 22 <div class =" navbar" >
33 <hamburger id =" hamburger-container" :is-active =" sidebar.opened" class =" hamburger-container" @toggleClick =" toggleSideBar" />
44
5- <breadcrumb id =" breadcrumb-container" class =" breadcrumb-container" v-if = " !topNav " />
6- <top-nav id =" topmenu-container" class =" topmenu-container" v-if = " topNav " />
5+ <breadcrumb v-if = " !topNav " id =" breadcrumb-container" class =" breadcrumb-container" />
6+ <top-nav v-if = " topNav " id =" topmenu-container" class =" topmenu-container" />
77
88 <div class =" right-menu" >
99 <template v-if =" device !== ' mobile' " >
@@ -95,16 +95,16 @@ export default {
9595 toggleSideBar () {
9696 this .$store .dispatch (' app/toggleSideBar' )
9797 },
98- async logout () {
98+ logout () {
9999 this .$confirm (' 确定注销并退出系统吗?' , ' 提示' , {
100100 confirmButtonText: ' 确定' ,
101101 cancelButtonText: ' 取消' ,
102102 type: ' warning'
103103 }).then (() => {
104104 this .$store .dispatch (' LogOut' ).then (() => {
105- location .href = ' /index' ;
105+ location .href = ' /index'
106106 })
107- }).catch (() => {});
107+ }).catch (() => {})
108108 }
109109 }
110110}
You can’t perform that action at this time.
0 commit comments