forked from natuka/web.puabadge.com
代码提交
This commit is contained in:
1 parent
c30768d605
commit
b52dcc0842
14 files changed
+3997
-38
No files matched your search
@@ -1216,12 +1216,11 @@ const getOrderStat = () => {
|
||||
}
|
||||
|
||||
function handleBeforeUnload(_event: BeforeUnloadEvent) {
|
||||
localStorage.remove('code')
|
||||
localStorage.remove('trialCode')
|
||||
localStorage.remove('userId')
|
||||
// code 的清除已在 main.ts 中统一处理,这里只处理页面特定的清理逻辑
|
||||
// 清除轮询和进度条计时器
|
||||
clearInterval(timer.value)
|
||||
clearInterval(progressTimer.value)
|
||||
// trialCode 和 userId 的清除由 main.ts 统一处理
|
||||
}
|
||||
|
||||
const pid = ref(0)
|
||||
|
||||
Reference in new issue
Block a user