update
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user