forked from github/dataease
Merge pull request #6078 from dataease/pr@dev@fix_panel-tooltips
fix(仪表板): 修复全屏模式下动态排序没有提示问题
This commit is contained in:
commit
324a17350a
@ -35,6 +35,7 @@
|
||||
:obj="{active, chart, trackMenu, searchCount, terminalType: scaleCoefficientType}"
|
||||
:chart="chart"
|
||||
:track-menu="trackMenu"
|
||||
:in-screen="inScreen"
|
||||
:search-count="searchCount"
|
||||
:terminal-type="scaleCoefficientType"
|
||||
:scale="scale"
|
||||
|
@ -76,6 +76,11 @@ export default {
|
||||
return ['drill']
|
||||
}
|
||||
},
|
||||
inScreen: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: true
|
||||
},
|
||||
searchCount: {
|
||||
type: Number,
|
||||
required: false,
|
||||
@ -594,7 +599,7 @@ export default {
|
||||
chart_option.legend['pageIconInactiveColor'] = '#8c8c8c'
|
||||
}
|
||||
}
|
||||
if (chart_option.tooltip) {
|
||||
if (chart_option.tooltip && this.inScreen) {
|
||||
chart_option.tooltip.appendToBody = true
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user