feat: 解决退出登录调用notice/list页面报错的问题

This commit is contained in:
cgd_mac 2022-02-25 11:43:10 +08:00
parent 2c0d1ce1c8
commit ded566478b
2 changed files with 1 additions and 4 deletions

View File

@ -110,9 +110,6 @@ const user = {
logout()
.then(() => {
clear()
setTimeout(() => {
resolve()
}, 300)
resolve()
})
.catch(() => {

View File

@ -1,6 +1,6 @@
<template>
<a-card :bordered="false">
<a-tabs @change="tabsCallback" :default-active-key="noticeRange">
<a-tabs @change="tabsCallback" v-model="noticeRange">
<a-tab-pane key="1" tab="我发布的" v-if="hasPerm('notice:edit')" >
<div class="table-page-search-wrapper">
<a-form layout="inline">