feat(web): UI兼容新版本amis
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user