consumer模块完成度95%,准备部署消费者端测试

This commit is contained in:
cyh666666
2026-03-05 08:45:00 +08:00
parent cceb556c62
commit 7f7f723d93
1043 changed files with 53958 additions and 3445 deletions

View File

@@ -160,6 +160,10 @@ const account = ref<string>('')
const password = ref<string>('')
const captcha = ref<string>('')
// 测试账号(开发测试用)
const TEST_ACCOUNT = 'test@mall.com'
const TEST_PASSWORD = 'Hf2152111'
const isLoading = ref<boolean>(false)
const codeDisabled = ref<boolean>(false)
@@ -193,6 +197,9 @@ const checkLoginStatus = (): void => {
onMounted(() => {
checkLoginStatus()
// 自动填充测试账号密码
account.value = TEST_ACCOUNT
password.value = TEST_PASSWORD
})
const validateAccount = (): boolean => {