fix: 需要为数组
This commit is contained in:
parent
c3fdeda1ca
commit
8276026b01
@ -20,7 +20,7 @@ export const columns: VxeGridProps['columns'] = [
|
|||||||
slots: {
|
slots: {
|
||||||
default: ({ row }) => {
|
default: ({ row }) => {
|
||||||
const { dictValue } = row as DictData;
|
const { dictValue } = row as DictData;
|
||||||
return renderDictTag(dictValue, row);
|
return renderDictTag(dictValue, [row]);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user