style: 优化场景联动卡片的省略内容显示样式
This commit is contained in:
parent
9b459f2507
commit
fed5c348e0
|
@ -13,7 +13,7 @@ export const handleParamsData = (data: any[], key: string = 'column'): any[] =>
|
|||
|
||||
export const thenRules = [{
|
||||
validator(_: string, value: any) {
|
||||
if (!value || (value && !value.length) || !v.some(item => item.actions && item.actions.length)) {
|
||||
if (!value || (value && !value.length) || !value.some(item => item.actions && item.actions.length)) {
|
||||
return Promise.reject('至少配置一个执行动作')
|
||||
}
|
||||
return Promise.resolve();
|
||||
|
|
|
@ -52,14 +52,14 @@
|
|||
{{ slotProps.name }}
|
||||
</span>
|
||||
</Ellipsis>
|
||||
<Ellipsis :lineClamp="2">
|
||||
<div class="subTitle">
|
||||
<Ellipsis :lineClamp="2">
|
||||
说明:{{
|
||||
slotProps?.description ||
|
||||
typeMap.get(slotProps.triggerType)?.tip
|
||||
}}
|
||||
</div>
|
||||
</Ellipsis>
|
||||
</div>
|
||||
</template>
|
||||
<template #actions="item">
|
||||
<PermissionButton
|
||||
|
|
Loading…
Reference in New Issue