合伙人端验证是否已经绑定手机号,否则不支持微信一键登录

This commit is contained in:
2026-07-12 21:18:10 +08:00
parent b5235dedef
commit 236a2a87a5
7 changed files with 80 additions and 9 deletions
+6
View File
@@ -111,6 +111,12 @@ export function clearStoreDraft(accountId?: string) {
localStorage.removeItem(storeDraftKey(accountId));
}
/** 清除当前账号及遗留的全局录店草稿 */
export function clearAllStoreDrafts(accountId?: string) {
clearStoreDraft(accountId);
localStorage.removeItem(STORE_DRAFT_KEY);
}
const PHONE_RE = /^1\d{10}$/;
const BANK_RE = /^\d{16,19}$/;