帐号已存在

This commit is contained in:
luyuan 2020-11-17 09:59:30 +08:00
parent fc9a05636c
commit 168daa14f9
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
3 changed files with 9 additions and 0 deletions

View File

@ -302,6 +302,7 @@ export default {
cshipinyaoqiu1: "The video should be no longer than 10 minutes",
cshipinyaoqiu2: "Video size cannot exceed 500M",
shangchuanwancheng: "Please wait for the file to be uploaded",
zhanghaocunzai: "account already exists",
shichangtishi:"",
renshutishi: '',
tixianzhu: "",

View File

@ -302,6 +302,7 @@ export default {
cshipinyaoqiu1: "视频长度不能超过10分钟",
cshipinyaoqiu2: "视频大小不能超过500m",
shangchuanwancheng: "请等待文件上传完成",
zhanghaocunzai: "帐号已存在",
shichangtishi:"",
renshutishi: '',
tixianzhu:"",

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;
}