修改图片验证码触发逻辑

master
于肖磊 2025-09-24 18:23:34 +08:00
parent 12ad75180d
commit 2b70c47a45
1 changed files with 8 additions and 9 deletions

View File

@ -86,12 +86,12 @@
};
},
watch: {
// propValue: {
// handler(newVal) {
// this.init();
// },
// deep: true
// },
propValue: {
handler(newVal) {
this.init();
},
deep: true
},
propKey(val) {
//
this.init();
@ -105,9 +105,6 @@
isEmpty,
init() {
const com_data = this.propValue;
if (com_data.is_img_sms_verification == '1') {
this.image_verify_event('sms');
}
this.setData({
com_data: com_data,
placeholder: com_data.placeholder,
@ -151,6 +148,8 @@
popup_image_verify_status: true,
verify_disabled: true,
});
//
this.image_verify_event('sms');
//
this.z_index_change(this.propDataId);
} else {