mirror of
https://gitee.com/beecue/fastbee.git
synced 2026-03-22 22:44:51 +08:00
fix(导航栏): 优化
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="navbar">
|
<div class="navbar">
|
||||||
<hamburger id="hamburger-container" :is-active="sidebar.opened" class="hamburger-container" />
|
<hamburger id="hamburger-container" :is-active="sidebar.opened" class="hamburger-container" @toggleClick="toggleSideBar" />
|
||||||
|
|
||||||
<breadcrumb id="breadcrumb-container" class="breadcrumb-container" v-if="!topNav" />
|
<breadcrumb id="breadcrumb-container" class="breadcrumb-container" v-if="!topNav" />
|
||||||
<top-nav id="topmenu-container" class="topmenu-container" v-if="topNav" />
|
<top-nav id="topmenu-container" class="topmenu-container" v-if="topNav" />
|
||||||
@@ -94,9 +94,9 @@ export default {
|
|||||||
this.$store.dispatch('app/toggleSideBar');
|
this.$store.dispatch('app/toggleSideBar');
|
||||||
},
|
},
|
||||||
async logout() {
|
async logout() {
|
||||||
this.$confirm('确定注销并退出系统吗?', '提示', {
|
this.$confirm(this.$t('login.989807-31'), this.$t('login.989807-32'), {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: this.$t('confirm'),
|
||||||
cancelButtonText: '取消',
|
cancelButtonText: this.$t('cancel'),
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user