fix: 需要为数组

This commit is contained in:
dap 2025-01-10 14:47:12 +08:00
parent c3fdeda1ca
commit 8276026b01

View File

@ -20,7 +20,7 @@ export const columns: VxeGridProps['columns'] = [
slots: {
default: ({ row }) => {
const { dictValue } = row as DictData;
return renderDictTag(dictValue, row);
return renderDictTag(dictValue, [row]);
},
},
},