From ae257567bf8ae4963359ca2e69ec4c165185f4d7 Mon Sep 17 00:00:00 2001 From: Junyi Date: Sun, 17 Jan 2021 10:45:37 +0800 Subject: [PATCH] fix: updatedBy foreignKey (#56) --- packages/plugin-collections/src/interfaces/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-collections/src/interfaces/types.ts b/packages/plugin-collections/src/interfaces/types.ts index 78b49e0d3..60d08ea55 100644 --- a/packages/plugin-collections/src/interfaces/types.ts +++ b/packages/plugin-collections/src/interfaces/types.ts @@ -410,7 +410,7 @@ export const updatedBy = { // filterable: true, target: 'users', labelField: 'nickname', - foreignKey: 'created_by_id', + foreignKey: 'updated_by_id', appends: true, component: { type: 'drawerSelect',