refactor: 移动 iframe 到 @vben/common-ui

This commit is contained in:
xingyu4j
2025-09-10 11:55:09 +08:00
parent b3a4a91a25
commit 4cb1ecfb1c
17 changed files with 13 additions and 64 deletions

View File

@@ -1,10 +1,9 @@
<script lang="ts" setup>
import { onMounted, ref } from 'vue';
import { DocAlert, Page } from '@vben/common-ui';
import { DocAlert, IFrame, Page } from '@vben/common-ui';
import { getConfigKey } from '#/api/infra/config';
import { IFrame } from '#/components/iframe';
const loading = ref(true); // 是否加载中
const src = ref(`${import.meta.env.VITE_BASE_URL}/druid/index.html`);

View File

@@ -1,10 +1,9 @@
<script setup lang="ts">
import { onMounted, ref } from 'vue';
import { DocAlert, Page } from '@vben/common-ui';
import { DocAlert, IFrame, Page } from '@vben/common-ui';
import { getConfigKey } from '#/api/infra/config';
import { IFrame } from '#/components/iframe';
const loading = ref(true); // 是否加载中
const src = ref(`${import.meta.env.VITE_BASE_URL}/admin/applications`);

View File

@@ -1,10 +1,9 @@
<script setup lang="ts">
import { onMounted, ref } from 'vue';
import { DocAlert, Page } from '@vben/common-ui';
import { DocAlert, IFrame, Page } from '@vben/common-ui';
import { getConfigKey } from '#/api/infra/config';
import { IFrame } from '#/components/iframe';
const loading = ref(true); // 是否加载中
const src = ref('http://skywalking.shop.iocoder.cn');

View File

@@ -1,10 +1,9 @@
<script lang="ts" setup>
import { onMounted, ref } from 'vue';
import { DocAlert, Page } from '@vben/common-ui';
import { DocAlert, IFrame, Page } from '@vben/common-ui';
import { getConfigKey } from '#/api/infra/config';
import { IFrame } from '#/components/iframe';
const loading = ref(true); // 是否加载中
const src = ref(`${import.meta.env.VITE_BASE_URL}/doc.html`); // Knife4j UI