Skip to content

Commit

Permalink
fix: 修复部分错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Nov 15, 2024
1 parent ce09f73 commit 5637ae5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/types/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface Options {
export interface LabelValueState {
label: string
value: any
extend?: string
extra?: string
}

/** 字典类型 */
Expand Down
4 changes: 2 additions & 2 deletions src/utils/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ http.interceptors.response.use(
async onOk() {
NProgress.done()
const userStore = useUserStore()
userStore.logoutCallBack()
router.replace('/login')
await userStore.logoutCallBack()
await router.replace('/login')
},
})
} else {
Expand Down
3 changes: 1 addition & 2 deletions src/views/login/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,7 @@ const onOauth = async (source: string) => {
margin-right: 10px;
}
.mode:hover,
.mode svg:hover {
.mode:hover {
background: rgba(var(--primary-6), 0.05);
border: 1px solid rgb(var(--primary-3));
color: rgb(var(--arcoblue-6));
Expand Down

0 comments on commit 5637ae5

Please sign in to comment.