fix: 刷选问题
This commit is contained in:
parent
221a097dba
commit
3ab8daa875
|
@ -268,6 +268,9 @@ export default {
|
|||
created() {
|
||||
this.$bus.$on('roiLimitItemChange', this.handleLimitItemChange)
|
||||
},
|
||||
beforeDestroy() {
|
||||
this.$bus.$off('roiLimitItemChange', this.handleLimitItemChange)
|
||||
},
|
||||
mounted() {
|
||||
this.opts.notMerge = true
|
||||
this.$nextTick(() => {
|
||||
|
@ -434,7 +437,7 @@ export default {
|
|||
this.reDrawRect()
|
||||
})
|
||||
|
||||
this.$bus.$emit('roiLimitItemChange', y1, y2)
|
||||
this.$bus.$emit('roiLimitItemChange', this.twoDOption.yAxis.min, this.twoDOption.yAxis.max)
|
||||
}
|
||||
|
||||
this.clearBrush(chart)
|
||||
|
|
Loading…
Reference in New Issue
Block a user