Commit 105b5353 by 王志慧

commit

1 parent add0f564
......@@ -128,7 +128,7 @@ export default {
this.getRankList(this.moveAttr.dataIndex, this.rankFlag + 'List')
}
})
this[this.domId].on('mouseout', (params) =>{
this[this.domId].on('mouseout', params => {
var pointInPixel = [params.offsetX, params.offsetY]
if (!this[this.domId].containPixel('grid', pointInPixel)) {
this[this.domId].getZr().setCursorStyle('default')
......@@ -136,9 +136,10 @@ export default {
})
// 移除图表
// this[this.domId].on('globalout', () => {
// this.chartAction()
// })
this[this.domId].on('globalout', () => {
// this.chartAction()
this.getRankList(this.dataList.length - 1, this.rankFlag + 'List')
})
},
// chartAction(type) {
// this[this.domId].dispatchAction({
......@@ -160,7 +161,7 @@ export default {
this[this.domId].setOption(this.lineOptions)
// 默认展示tooltip
// this.chartAction()
this.getRankList(0)
this.getRankList(this.dataList.length - 1)
},
handleRankChange(value) {
this.rankFlag = value
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!