fix(sj_1.2.0-beta1): 修复表格列设置字段名异常问题

This commit is contained in:
xlsea 2024-07-18 09:20:17 +08:00
parent 916020e1e9
commit b135ec5afe

View File

@ -25,7 +25,7 @@ const columns = defineModel<NaiveUI.TableColumnCheck[]>('columns', {
<div v-for="item in columns" :key="item.key" class="h-36px flex-y-center rd-4px hover:(bg-primary bg-opacity-20)">
<icon-mdi-drag class="mr-8px h-full cursor-move text-icon" />
<NCheckbox v-model:checked="item.checked" class="none_draggable flex-1">
{{ item.title }}
{{ typeof item.title === 'function' ? item.key.toUpperCase() : item.title }}
</NCheckbox>
</div>
</VueDraggable>