feat(/api/user): Compete login-code and auth-middleware
This commit is contained in:
parent
ba813ffcc8
commit
07143e2048
@ -112,6 +112,9 @@
|
|||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import PhoneElemen from "@vueform/vueform";
|
import PhoneElemen from "@vueform/vueform";
|
||||||
|
definePageMeta({
|
||||||
|
middleware: ["unauth"],
|
||||||
|
});
|
||||||
const form = ref({});
|
const form = ref({});
|
||||||
const phoneChecked = ref(false);
|
const phoneChecked = ref(false);
|
||||||
const codeBtnRef = ref({ text: "发送验证码", color: "", disabled: false });
|
const codeBtnRef = ref({ text: "发送验证码", color: "", disabled: false });
|
||||||
|
Loading…
Reference in New Issue
Block a user