diff --git a/src/hooks/useActivateDebug.ts b/src/hooks/useActivateDebug.ts index 3553cdb..d70f82c 100644 --- a/src/hooks/useActivateDebug.ts +++ b/src/hooks/useActivateDebug.ts @@ -1,4 +1,5 @@ import { ElMessageBox } from 'element-plus' +import { delToken } from 'libs/token' import { useSystemStore } from 'stores/systemStore' import { ref } from 'vue' @@ -24,6 +25,7 @@ export const useActivateDebug = () => { logoClickCount.value = 0 // 重置计数器 }) .then(() => { + delToken() location.reload() }) }