NEZ-1577 feat:chart 编辑页面 system 数据源增加filter(80%)
This commit is contained in:
@@ -238,6 +238,9 @@ export default {
|
||||
if (params.type === 'table') {
|
||||
delete params.param.tags
|
||||
}
|
||||
if (params.datasource === 'system' && params.param.datasource[0].filter) {
|
||||
params.param.datasource[0].filter = params.param.datasource[0].filter.filter(item => item.value)
|
||||
}
|
||||
if (params.id) { // 修改
|
||||
this.$put('visual/panel/chart', params).then(response => {
|
||||
if (response.code === 200) {
|
||||
|
||||
Reference in New Issue
Block a user