修复了发送验证码
This commit is contained in:
		
							parent
							
								
									5622db0a8d
								
							
						
					
					
						commit
						3dba6dca46
					
				@ -606,6 +606,12 @@ export async function checkuser(data?: any){
 | 
			
		||||
    newdata.number=data.phone
 | 
			
		||||
    const res = await get<CheckuserRule>('checkUser',newdata);
 | 
			
		||||
    // console.log(res)
 | 
			
		||||
    if(res.code == 1){
 | 
			
		||||
        return {
 | 
			
		||||
            code: res.code,
 | 
			
		||||
            msg: res.msg,
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    return {
 | 
			
		||||
        code: res.code,
 | 
			
		||||
        msg: res.msg,
 | 
			
		||||
 | 
			
		||||
@ -142,7 +142,7 @@ export default defineComponent({
 | 
			
		||||
    const time = ref(60);//倒计时
 | 
			
		||||
    const phone = ref(""); // 手机号
 | 
			
		||||
    const code =ref("")
 | 
			
		||||
    const myquhao=ref("86")
 | 
			
		||||
    
 | 
			
		||||
    const userinfo = reactive({
 | 
			
		||||
      phone: '13152639856',
 | 
			
		||||
      password: '123456'
 | 
			
		||||
@ -155,6 +155,7 @@ export default defineComponent({
 | 
			
		||||
      name: "中国"
 | 
			
		||||
    }
 | 
			
		||||
    ])
 | 
			
		||||
    const myquhao=ref(mrqh.value.code)
 | 
			
		||||
    const videolist=ref<any>([{}])
 | 
			
		||||
 | 
			
		||||
    onMounted(async ()=>{
 | 
			
		||||
 | 
			
		||||
@ -170,7 +170,7 @@ export default defineComponent({
 | 
			
		||||
    const next: (e: number) => void = async (e: number) => {
 | 
			
		||||
      if(e==2){
 | 
			
		||||
        console.log(uinfo)
 | 
			
		||||
        const res=await checkuser(toRaw(uinfo.value))
 | 
			
		||||
        const res: any = await checkuser(toRaw(uinfo.value))
 | 
			
		||||
        console.log(res.data.memberid)
 | 
			
		||||
        if(res.code==0){
 | 
			
		||||
          // stepnow.value = e;
 | 
			
		||||
 | 
			
		||||
@ -247,11 +247,7 @@ export default defineComponent({
 | 
			
		||||
            wrapperCol: 14,
 | 
			
		||||
        };
 | 
			
		||||
        const time = ref(60); //倒计时初始化
 | 
			
		||||
        const phone = ref({
 | 
			
		||||
            quhao: "86",
 | 
			
		||||
            phone: "",
 | 
			
		||||
            code: "",
 | 
			
		||||
        });
 | 
			
		||||
       
 | 
			
		||||
        const userinfo = ref({
 | 
			
		||||
            pass: "",
 | 
			
		||||
            passtow: "",
 | 
			
		||||
@ -262,6 +258,11 @@ export default defineComponent({
 | 
			
		||||
        });
 | 
			
		||||
        const willsay = ref<any>();
 | 
			
		||||
        const mrqh = computed(() => store.state.qh)
 | 
			
		||||
         const phone = ref({
 | 
			
		||||
            quhao: mrqh.value.code,
 | 
			
		||||
            phone: "",
 | 
			
		||||
            code: "",
 | 
			
		||||
        });
 | 
			
		||||
        const quhaolist = ref<any>([
 | 
			
		||||
            {
 | 
			
		||||
                code: "86",
 | 
			
		||||
 | 
			
		||||
@ -584,7 +584,7 @@ export default defineComponent({
 | 
			
		||||
        const quhaolist = ref<any>([]);
 | 
			
		||||
        const mrqh = computed(() => store.state.qh)
 | 
			
		||||
        
 | 
			
		||||
        const myquhao = ref<string>("");
 | 
			
		||||
        const myquhao = ref<string>(mrqh.value.code);
 | 
			
		||||
 | 
			
		||||
        const mynewtel = ref<string>("");
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user