fix(web): 修复列表 mapping 无法正常显示
This commit is contained in:
@@ -751,14 +751,15 @@ function tableMetaDialog() {
|
||||
direction: '${orderDir|default:undefined}',
|
||||
flink_job_id: '${flinkJobId|default:undefined}',
|
||||
alias: '${tableMeta.alias|default:undefined}',
|
||||
filter_type: '${filter_type|default:undefined}',
|
||||
filter_action: '${filter_action|default:undefined}',
|
||||
filter_state: '${filter_state|default:undefined}',
|
||||
filter_type: '${type|default:undefined}',
|
||||
filter_action: '${action|default:undefined}',
|
||||
filter_state: '${state|default:undefined}',
|
||||
},
|
||||
defaultParams: {
|
||||
filter_type: 'active',
|
||||
},
|
||||
},
|
||||
affixHeader: true,
|
||||
syncLocation: false,
|
||||
silentPolling: true,
|
||||
stopAutoRefreshWhenModalIsOpen: true,
|
||||
@@ -789,14 +790,14 @@ function tableMetaDialog() {
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
name: 'filter_action',
|
||||
name: 'action',
|
||||
label: '类型',
|
||||
width: 100,
|
||||
...mappingField('action', hudiTimelineActionMapping),
|
||||
filterable: filterableField(hudiTimelineActionMapping, false),
|
||||
},
|
||||
{
|
||||
name: 'filter_state',
|
||||
name: 'state',
|
||||
label: ' 状态',
|
||||
width: 80,
|
||||
align: 'center',
|
||||
@@ -808,7 +809,7 @@ function tableMetaDialog() {
|
||||
label: '文件名',
|
||||
},
|
||||
{
|
||||
name: 'filter_type',
|
||||
name: 'type',
|
||||
label: '来源',
|
||||
width: 60,
|
||||
align: 'center',
|
||||
@@ -1417,7 +1418,6 @@ function mappingField(field, mapping) {
|
||||
})
|
||||
return {
|
||||
type: 'mapping',
|
||||
value: `\${${field}}`,
|
||||
map: mapData,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user