靶段备注清空问题
continuous-integration/drone/push Build encountered an error Details

uat
wangxiaoshuang 2025-06-25 14:29:32 +08:00
parent 2c0823f027
commit 5717fb9dd1
2 changed files with 5 additions and 5 deletions

View File

@ -443,8 +443,8 @@ export default {
if (item.Type === 'number') { if (item.Type === 'number') {
this.limitBlur(item.Id, item.ValueType) this.limitBlur(item.Id, item.ValueType)
} }
if (question.Childrens.length > 0) { if (item.Childrens && item.Childrens.length > 0) {
this.resetChild(question.Childrens) this.resetChild(item.Childrens)
} }
}, },
resetChild(obj) { resetChild(obj) {

View File

@ -436,10 +436,10 @@ export default {
}, },
formItemChange(val, question) { formItemChange(val, question) {
this.formChanged = true this.formChanged = true
if (item.Type === 'number') { if (question.Type === 'number') {
this.limitBlur(item.Id, item.ValueType) this.limitBlur(question.Id, question.ValueType)
} }
if (question.Childrens.length > 0) { if (question.Childrens && question.Childrens.length > 0) {
this.resetChild(question.Childrens) this.resetChild(question.Childrens)
} }
}, },