From 8583de878bfb877c9c9cb41b2ab8286b8d1dd0d9 Mon Sep 17 00:00:00 2001
From: Kerwin <37063904+zhuangchong@users.noreply.github.com>
Date: Thu, 18 May 2023 18:46:42 +0800
Subject: [PATCH] fix error TS2339: Property '' does not exist on type
CreateComponentPublicInstance (#14144)
---
dolphinscheduler-ui/src/layouts/content/index.tsx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dolphinscheduler-ui/src/layouts/content/index.tsx b/dolphinscheduler-ui/src/layouts/content/index.tsx
index b4a1f6e20a..1d4d811e09 100644
--- a/dolphinscheduler-ui/src/layouts/content/index.tsx
+++ b/dolphinscheduler-ui/src/layouts/content/index.tsx
@@ -96,7 +96,8 @@ const Content = defineComponent({
return {
...toRefs(state),
changeMenuOption,
- sideKeyRef
+ sideKeyRef,
+ currentRoute: route
}
},
render() {
@@ -123,7 +124,7 @@ const Content = defineComponent({
style='padding: 16px 22px'
contentStyle={'height: 100%'}
>
-
+