注册手机号
This commit is contained in:
		
							parent
							
								
									6d410c2a03
								
							
						
					
					
						commit
						00a4dee4ec
					
				@ -28,12 +28,14 @@
 | 
			
		||||
                                    @change="getquhao"
 | 
			
		||||
                                    class="getcode"
 | 
			
		||||
									style="width: 50%"
 | 
			
		||||
                                    option-label-prop="label"
 | 
			
		||||
                                    show-search
 | 
			
		||||
                                >
 | 
			
		||||
                                    <a-select-option
 | 
			
		||||
                                        v-for="(i, j) in quhaolist"
 | 
			
		||||
                                        :key="j"
 | 
			
		||||
                                        :value="i.name + '+' + i.code"
 | 
			
		||||
                                        :label="'+' + i.code"
 | 
			
		||||
                                    >
 | 
			
		||||
                                        {{ i.name }}+{{ i.code }}
 | 
			
		||||
                                    </a-select-option>
 | 
			
		||||
@ -394,6 +396,13 @@ export default defineComponent({
 | 
			
		||||
        function navto(url: string) {
 | 
			
		||||
            router.push(url);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        function getquhao(e?: any){
 | 
			
		||||
            console.log(e)
 | 
			
		||||
            phone.value.quhao = e.toString()
 | 
			
		||||
            phone.value.quhao = phone.value.quhao.split("+")[1];
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return {
 | 
			
		||||
            formLayout,
 | 
			
		||||
            getcode,
 | 
			
		||||
@ -408,6 +417,7 @@ export default defineComponent({
 | 
			
		||||
            navto,
 | 
			
		||||
            lan,
 | 
			
		||||
            quhaolist,
 | 
			
		||||
            getquhao
 | 
			
		||||
        };
 | 
			
		||||
    },
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user