diff --git a/yudao-ui-admin-vue3/src/hooks/web/useVxeGrid.ts b/yudao-ui-admin-vue3/src/hooks/web/useVxeGrid.ts index 54a023c19..ac7ad6c6d 100644 --- a/yudao-ui-admin-vue3/src/hooks/web/useVxeGrid.ts +++ b/yudao-ui-admin-vue3/src/hooks/web/useVxeGrid.ts @@ -42,7 +42,6 @@ export const useVxeGrid = (config?: UseVxeGridConfig) => { /** * grid options 初始化 */ - console.info(config?.allSchemas.tableSchema) const gridOptions = reactive({ loading: true, size: currentSize as any, diff --git a/yudao-ui-admin-vue3/src/views/system/dept/dept.data.ts b/yudao-ui-admin-vue3/src/views/system/dept/dept.data.ts index 61e370839..f8898030c 100644 --- a/yudao-ui-admin-vue3/src/views/system/dept/dept.data.ts +++ b/yudao-ui-admin-vue3/src/views/system/dept/dept.data.ts @@ -42,7 +42,12 @@ const crudSchemas = reactive({ }, { title: '负责人', - field: 'leaderUserId' + field: 'leaderUserId', + table: { + slots: { + default: 'leaderUserId_default' + } + } }, { title: '联系电话', diff --git a/yudao-ui-admin-vue3/src/views/system/dept/index.vue b/yudao-ui-admin-vue3/src/views/system/dept/index.vue index c92dbb656..2c91c2c7b 100644 --- a/yudao-ui-admin-vue3/src/views/system/dept/index.vue +++ b/yudao-ui-admin-vue3/src/views/system/dept/index.vue @@ -14,6 +14,9 @@ +