mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-11-30 03:08:01 +08:00
fix error TS2339: Property '' does not exist on type CreateComponentPublicInstance (#14144)
This commit is contained in:
parent
67f50e3904
commit
8583de878b
@ -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%'}
|
||||
>
|
||||
<router-view key={this.$route.fullPath} />
|
||||
<router-view key={this.currentRoute.fullPath} />
|
||||
</NLayoutContent>
|
||||
</NLayout>
|
||||
</NLayout>
|
||||
|
Loading…
Reference in New Issue
Block a user