feat: 项目多标签方案调整

This commit is contained in:
DEV_DSW
2026-01-19 17:06:01 +08:00
parent c6e07ed414
commit 0c0f5ec430
9 changed files with 197 additions and 152 deletions

View File

@@ -127,6 +127,7 @@ const getVerifyCode = async () => {
onMounted(() => getVerifyCode())
const router = useRouter()
const formRef = ref()
const onSubmit = async () => {
const valid = await formRef.value.validate().catch(() => { }); // 表单校验
@@ -136,7 +137,7 @@ const onSubmit = async () => {
try {
userStore.login(form).then(() => {
window.api.app.loadPage('index');
router.push({ path: '/home' })
})
} finally {
getVerifyCode()