付延余
2023-03-16 5355011b9d5e4f32a8751d1c2e600b2601fd8967
pages/register/register.vue
@@ -107,7 +107,7 @@
            carImg: '',
            drivingImg: '',
            tuiJianMa: '',
            confirmPassword:''
            confirmPassword: ''
         },
         fileList1: [],
         fileList2: [],
@@ -149,7 +149,7 @@
                  message: '长度在6-12个字符之间'
               }
            ],
            confirmPassword:[
            confirmPassword: [
               {
                  required: true,
                  message: '请设置初始密码',
@@ -182,7 +182,6 @@
               trigger: ['blur', 'change']
            }
         },
         confirmPassword:'',
         // 基本案列数据
         radiolist1: [
            {
@@ -229,7 +228,7 @@
   },
   methods: {
      registerClick() {
         if(this.registerFormModel.password == this.registerFormModel.confirmPassword){
         if (this.registerFormModel.password == this.registerFormModel.confirmPassword) {
            this.$refs.regesterFormRef
               .validate()
               .then(res => {
@@ -260,7 +259,7 @@
                  uni.$u.toast('请规范输入内容');
               });
         } else {
            this.$u.toast('两次密码不一致')
            this.$u.toast('两次密码不一致');
         }
      },
      // 音视频通话
@@ -287,11 +286,10 @@
            this.beforeChangeValue = e;
         }
      },
      jiaoYanPassword(){
         console.log('密码:',this.registerFormModel.password ,'确认密码:',this.confirmPassword);
         // if(this.registerFormModel.password != this.confirmPassword){
         //    this.$u.toast('两次密码不一致')
         // }
      jiaoYanPassword() {
         if (this.registerFormModel.password != this.registerFormModel.confirmPassword) {
            this.$u.toast('两次密码不一致');
         }
      },
      // 上传图片方法
      // 删除图片