mirror of
https://github.com/certd/certd.git
synced 2026-07-09 06:07:37 +08:00
chore(auth): 清理已使用的邀请码缓存
This commit is contained in:
@@ -41,6 +41,10 @@ export const inviteUtils = {
|
||||
}
|
||||
},
|
||||
|
||||
clear() {
|
||||
localStorage.removeItem(INVITE_STORAGE_KEY);
|
||||
},
|
||||
|
||||
captureFromLocation() {
|
||||
const hashQuery = window.location.hash?.split("?")[1] || "";
|
||||
const search = window.location.search?.replace(/^\?/, "") || "";
|
||||
|
||||
Reference in New Issue
Block a user