feat(web): UI兼容新版本amis

This commit is contained in:
2024-01-03 17:52:09 +08:00
parent 4e8203daec
commit 6f3e3eccff
3 changed files with 5 additions and 3 deletions

View File

@@ -142,6 +142,7 @@ function yarnQueueCrud(clusters = undefined, queueNames = undefined) {
type: 'tooltip-wrapper',
body: '${TRUNCATE(queueName, 20)}',
content: '${queueName}',
inline: true,
},
{
label: '当前容量',
@@ -238,6 +239,7 @@ function yarnCrudColumns() {
className: 'nowrap',
type: 'tpl',
tpl: "${IF(syncApplication, '<span class=\"rounded-xl label label-primary\">S</span>', IF(compactionApplication, '<span class=\"rounded-xl label label-primary\">C</span>', ''))}${IF(hudiApplication, '<span class=\"mx-2\"/>', '')}${IF(syncApplication, flinkJobName, IF(compactionApplication, alias, name))}",
// tpl: '${name}',
backgroundScale: {
min: 0.001,
max: 1.000,