fix: 需要为数组

master
dap 1 year ago
parent c3fdeda1ca
commit 8276026b01

@ -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]);
},
},
},

Loading…
Cancel
Save