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 = [{
|
export const thenRules = [{
|
||||||
validator(_: string, value: any) {
|
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.reject('至少配置一个执行动作')
|
||||||
}
|
}
|
||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
|
|
|
@ -52,14 +52,14 @@
|
||||||
{{ slotProps.name }}
|
{{ slotProps.name }}
|
||||||
</span>
|
</span>
|
||||||
</Ellipsis>
|
</Ellipsis>
|
||||||
|
<div class="subTitle">
|
||||||
<Ellipsis :lineClamp="2">
|
<Ellipsis :lineClamp="2">
|
||||||
<div class="subTitle">
|
|
||||||
说明:{{
|
说明:{{
|
||||||
slotProps?.description ||
|
slotProps?.description ||
|
||||||
typeMap.get(slotProps.triggerType)?.tip
|
typeMap.get(slotProps.triggerType)?.tip
|
||||||
}}
|
}}
|
||||||
</div>
|
|
||||||
</Ellipsis>
|
</Ellipsis>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #actions="item">
|
<template #actions="item">
|
||||||
<PermissionButton
|
<PermissionButton
|
||||||
|
|
Loading…
Reference in New Issue