Refactor code structure for improved readability and maintainability

This commit is contained in:
abearxiong committed 2026-03-06 00:33:41 +08:00
1 parent 75a03bb3b0
commit 06141edc49
3 files changed
+1121 -7

No files matched your search

+2 -2
View File
@@ -60,10 +60,10 @@ const getLoginMethodByDomain = (): LoginMethod[] => {
methods = ['password', 'wechat-mp-ticket', 'wechat',]
break;
case 'localhost':
methods = ['password', 'web']
methods = ['web', 'password']
break
case 'cnb.run':
methods = ['password', 'web']
methods = ['web', 'password']
break;
default:
methods = ['password', 'web', 'phone', 'wechat', 'wechat-mp', 'wechat-mp-ticket']