feat: 渲染器支持 echart 渲染

This commit is contained in:
wangxuefeng
2025-03-19 14:45:09 +08:00
parent 9b39f265d3
commit a4c5f633cf
17 changed files with 786 additions and 176 deletions

View File

@@ -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"