forked from github/dataease
Merge pull request #4401 from dataease/pr@dev@fix_filter_button
fix(过滤器): 过滤器与查询按钮匹配问题-issues-4379
This commit is contained in:
commit
8c93652074
@ -66,7 +66,7 @@
|
|||||||
:terminal-type="scaleCoefficientType"
|
:terminal-type="scaleCoefficientType"
|
||||||
:scale="scale"
|
:scale="scale"
|
||||||
:theme-style="element.commonBackground"
|
:theme-style="element.commonBackground"
|
||||||
:active="this.active"
|
:active="active"
|
||||||
@onChartClick="chartClick"
|
@onChartClick="chartClick"
|
||||||
@onJumpClick="jumpClick"
|
@onJumpClick="jumpClick"
|
||||||
/>
|
/>
|
||||||
@ -762,6 +762,9 @@ export default {
|
|||||||
requestInfo.pageSize = this.currentPage.pageSize
|
requestInfo.pageSize = this.currentPage.pageSize
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (this.isFirstLoad) {
|
||||||
|
this.element.filters = this.filters?.length ? JSON.parse(JSON.stringify(this.filters)) : []
|
||||||
|
}
|
||||||
method(id, this.panelInfo.id, requestInfo).then(response => {
|
method(id, this.panelInfo.id, requestInfo).then(response => {
|
||||||
// 将视图传入echart组件
|
// 将视图传入echart组件
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
|
Loading…
Reference in New Issue
Block a user