Commit 2bbc8a37 by 李伟康

Merge branch 'feature/584/lwk' into 'SAAS+V5.8.4'

fix(ConditionItem): 修复保证标准变化时的条件重置逻辑

See merge request !919
2 parents 97a8efa3 a0c5b821
......@@ -156,17 +156,16 @@ export default {
immediate: true
},
'componentData.guaranteeStandard': {
handler(val) {
handler(val, oldVal) {
if(val == oldVal) return
let { ladderConditions } = this
if (!ladderConditions.length) {
ladderConditions.map(e => {
ladderConditions.map(e => {
e.startValue = ''
e.endValue = ''
e.aError = false
e.bError = false
})
this.$set(this, 'ladderConditions', ladderConditions)
}
},
deep: true
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!