fix(系统设置): 修复成员展示标签编辑失效问题
This commit is contained in:
parent
1ec24a72ac
commit
9cb1d6e2f8
|
@ -138,13 +138,14 @@
|
|||
</slot>
|
||||
</template>
|
||||
<template v-else-if="item.isTag || item.isStringTag">
|
||||
<slot :name="item.slotName" v-bind="{ record, rowIndex, column, columnConfig: item }">
|
||||
<template
|
||||
v-if="!record[item.dataIndex as string] || (Array.isArray(record[item.dataIndex as string]) && record[item.dataIndex as string].length === 0)"
|
||||
>
|
||||
<slot :name="item.slotName" v-bind="{ record, rowIndex, column, columnConfig: item }"> - </slot>
|
||||
-
|
||||
</template>
|
||||
<template v-else>
|
||||
<MsTagGroup
|
||||
v-else
|
||||
:is-string-tag="item.isStringTag"
|
||||
:tag-list="record[item.dataIndex as string]"
|
||||
type="primary"
|
||||
|
@ -152,6 +153,8 @@
|
|||
:tag-position="item.tagPosition"
|
||||
/>
|
||||
</template>
|
||||
</slot>
|
||||
</template>
|
||||
<template v-else-if="item.slotName === SpecialColumnEnum.OPERATION">
|
||||
<slot name="operation" v-bind="{ record, rowIndex, columnConfig: item }" />
|
||||
</template>
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
})"
|
||||
value-key="id"
|
||||
label-key="name"
|
||||
class="w-full"
|
||||
class="w-full max-w-[300px]"
|
||||
allow-clear
|
||||
:multiple="true"
|
||||
:at-least-one="true"
|
||||
|
|
Loading…
Reference in New Issue