This commit is contained in:
2025-03-10 19:01:21 +08:00
parent 94644d0601
commit 31a2667f8b
28 changed files with 1370 additions and 57 deletions

View File

@@ -2,6 +2,9 @@
import {ref, reactive} from 'vue';
import {toPath} from "../../utils/index.js";
import VerificationCode from '../../components/VerificationCode/index.vue';
import {useUserStore} from "../../pinia/UserStore/index.js";
const {login} = useUserStore();
const MODE = {
PHONE: 'PHONE',
@@ -39,7 +42,7 @@ const mode = ref(MODE.PHONE);
</a-input>
</div>
<div class="flex flex-col mt-[50px] gap-[32px]">
<a-button type="primary">登陆</a-button>
<a-button @click="login" type="primary">登陆</a-button>
<a-button
@click="toPath('/loginSYS/register')"
type="text">