Commit 2bbc8a37 by 李伟康

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

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

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