mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-04-11 11:23:14 +08:00
fix: 需要为数组
This commit is contained in:
@@ -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]);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user