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