Browse Source

🐞 fix: 修复添加账号时头像展示相关问题

Pchen. 1 month ago
parent
commit
fbc30c7afc
1 changed files with 5 additions and 0 deletions
  1. 5 0
      apis/Lepao/Account/AddAccount.js

+ 5 - 0
apis/Lepao/Account/AddAccount.js

@@ -14,6 +14,11 @@ class AddAccount extends API {
         this.banEmailList = ['icloud.com']
     }
 
+    isQQ(str) {
+        const reg = /^[1-9][0-9]{4,10}$/
+        return reg.test(str)
+    }
+
     // 生成 6 位数字 + 字母混合码
     async generateCode() {
         try {