Skip to content

Commit 5637ae5

Browse files
committed
fix: 修复部分错误
1 parent ce09f73 commit 5637ae5

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/types/global.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface Options {
1111
export interface LabelValueState {
1212
label: string
1313
value: any
14-
extend?: string
14+
extra?: string
1515
}
1616

1717
/** 字典类型 */

src/utils/http.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ http.interceptors.response.use(
8282
async onOk() {
8383
NProgress.done()
8484
const userStore = useUserStore()
85-
userStore.logoutCallBack()
86-
router.replace('/login')
85+
await userStore.logoutCallBack()
86+
await router.replace('/login')
8787
},
8888
})
8989
} else {

src/views/login/index.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,8 +472,7 @@ const onOauth = async (source: string) => {
472472
margin-right: 10px;
473473
}
474474
475-
.mode:hover,
476-
.mode svg:hover {
475+
.mode:hover {
477476
background: rgba(var(--primary-6), 0.05);
478477
border: 1px solid rgb(var(--primary-3));
479478
color: rgb(var(--arcoblue-6));

0 commit comments

Comments
 (0)