fix:修改 alertRule的相关bug

This commit is contained in:
zhangyu
2021-05-12 19:07:07 +08:00
parent 613e65ca7b
commit cd505a0d05
7 changed files with 13 additions and 12 deletions

View File

@@ -289,7 +289,7 @@ export default {
this.expressionList[this.index] = value
// this.$refs.editor.setContent(value)
this.dropDownVisible = false
// this.$emit('change', value)
this.$emit('change', value)
this.$forceUpdate()
this.cascaderValue = ''
},
@@ -299,7 +299,7 @@ export default {
}
},
expressionChange: function () {
// this.$emit('change')
this.$emit('change')
},
setError: function (errMsg) {
// console.log(errMsg)
@@ -393,7 +393,7 @@ export default {
this.tempBoxShow = false
// eslint-disable-next-line vue/no-mutating-props
this.expressionList[this.index] = params.expression
// this.$emit('change', params.expression)
this.$emit('change', params.expression)
return
}
@@ -401,7 +401,7 @@ export default {
if (res.code === 200) {
this.tempBoxShow = false
this.expressionList[this.index] = res.data.expression
// this.$emit('change', res.data.expression)
this.$emit('change', res.data.expression)
}
})
} else {