From cb7c0ecaa21238c97e2a34cc46fa92c5fbe33514 Mon Sep 17 00:00:00 2001 From: Netfan Date: Sun, 26 Jan 2025 20:37:37 +0800 Subject: [PATCH 1/6] fix: menu data for backend mode fixed (#5465) --- apps/backend-mock/utils/mock-data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/backend-mock/utils/mock-data.ts b/apps/backend-mock/utils/mock-data.ts index 3967b906..8fa12fe5 100644 --- a/apps/backend-mock/utils/mock-data.ts +++ b/apps/backend-mock/utils/mock-data.ts @@ -58,7 +58,7 @@ const dashboardMenus = [ title: 'page.dashboard.title', }, name: 'Dashboard', - path: '/', + path: '/dashboard', redirect: '/analytics', children: [ { From 67d1f299b3b7f9c9760b5adcff074796597f80f4 Mon Sep 17 00:00:00 2001 From: Netfan Date: Sun, 26 Jan 2025 22:33:16 +0800 Subject: [PATCH 2/6] fix: renderComponentContent lose slot props data (#5466) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 修复FormItem传递插槽时丢失插槽props的问题 --- .../@core/ui-kit/form-ui/src/form-render/form-field.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/@core/ui-kit/form-ui/src/form-render/form-field.vue b/packages/@core/ui-kit/form-ui/src/form-render/form-field.vue index 7fa942e4..31af2821 100644 --- a/packages/@core/ui-kit/form-ui/src/form-render/form-field.vue +++ b/packages/@core/ui-kit/form-ui/src/form-render/form-field.vue @@ -329,10 +329,14 @@ function autofocus() { v-bind="createComponentProps(slotProps)" :disabled="shouldDisabled" > -