feat: 解决退出登录调用notice/list页面报错的问题
This commit is contained in:
parent
2c0d1ce1c8
commit
ded566478b
|
@ -110,9 +110,6 @@ const user = {
|
||||||
logout()
|
logout()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
clear()
|
clear()
|
||||||
setTimeout(() => {
|
|
||||||
resolve()
|
|
||||||
}, 300)
|
|
||||||
resolve()
|
resolve()
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<a-card :bordered="false">
|
<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')" >
|
<a-tab-pane key="1" tab="我发布的" v-if="hasPerm('notice:edit')" >
|
||||||
<div class="table-page-search-wrapper">
|
<div class="table-page-search-wrapper">
|
||||||
<a-form layout="inline">
|
<a-form layout="inline">
|
||||||
|
|
Loading…
Reference in New Issue