update 完成片区新增

This commit is contained in:
2021-06-01 10:54:07 +08:00
parent 08e4573e19
commit 483b15c013
17 changed files with 756 additions and 75 deletions

View File

@@ -13,7 +13,6 @@
<search :menus="nav.content" />
</div>
<div class="header-actions">
<User />
<a @click="$emit('reload')" class="header-action">
<a-icon type="reload" />
</a>
@@ -25,6 +24,7 @@
<a @click="$emit('setting')" class="header-action">
<a-icon type="setting" />
</a>
<User />
</div>
</section>
<container v-else-if="$root.global.settings.layout === 'top-nav'">
@@ -36,7 +36,6 @@
<search :menus="nav.content" />
</div>
<div class="header-actions">
<User />
<a @click="$emit('reload')" class="header-action">
<a-icon type="reload" />
</a>
@@ -48,6 +47,7 @@
<a @click="$emit('setting')" class="header-action">
<a-icon type="setting" />
</a>
<User />
</div>
<a-drawer
:body-style="{ padding: 0 }"

View File

@@ -47,8 +47,8 @@ export default {
this.$confirm({
title: '提示',
content: '是否确定退出登录',
onOk: () => {
doLogout()
onOk: async () => {
await doLogout()
},
onCancel() {
}