帐号已存在

This commit is contained in:
2020-11-17 09:59:30 +08:00
parent fc9a05636c
commit 168daa14f9
3 changed files with 9 additions and 0 deletions

View File

@@ -225,6 +225,7 @@ import { defineComponent, onMounted, reactive, ref, toRaw } from "vue";
import NavTop from "@/components/NavTop.vue";
import {
checksmscode,
checkuser,
getquhaolist,
getwillsay,
interests,
@@ -371,7 +372,13 @@ export default defineComponent({
phone.value.quhao + phone.value.phone,
phone.value.code
);
if (res) {
const iszc = await checkuser({phone: phone.value.phone})
if(iszc.code == 0){
message.error(lan.$t('zhanghaocunzai'))
return ;
}
stepnow.value = e;
}