feat: 渲染器支持 echart 渲染
This commit is contained in:
@@ -10,8 +10,6 @@ import { RouterView } from 'vue-router';
|
||||
import { preferences, usePreferences } from '@vben/preferences';
|
||||
import { storeToRefs, useTabbarStore } from '@vben/stores';
|
||||
|
||||
import { IFrameRouterView } from '../../iframe';
|
||||
|
||||
defineOptions({ name: 'LayoutContent' });
|
||||
|
||||
const tabbarStore = useTabbarStore();
|
||||
@@ -97,6 +95,7 @@ function transformComponent(
|
||||
:include="getCachedTabs"
|
||||
>
|
||||
<component
|
||||
class="h-full w-full"
|
||||
:is="transformComponent(Component, route)"
|
||||
v-if="renderRouteView"
|
||||
v-show="!route.meta.iframeSrc"
|
||||
@@ -104,6 +103,7 @@ function transformComponent(
|
||||
/>
|
||||
</KeepAlive>
|
||||
<component
|
||||
class="h-full w-full"
|
||||
:is="Component"
|
||||
v-else-if="renderRouteView"
|
||||
:key="route.fullPath"
|
||||
|
||||
Reference in New Issue
Block a user