From a1d7e81859f554f3a53680cc35f0f49bf1f77098 Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期四, 14 五月 2026 14:37:02 +0800
Subject: [PATCH] 导入项目
---
src/views/infra/druid/index.vue | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/src/views/infra/druid/index.vue b/src/views/infra/druid/index.vue
new file mode 100644
index 0000000..2ac99d2
--- /dev/null
+++ b/src/views/infra/druid/index.vue
@@ -0,0 +1,28 @@
+<template>
+ <doc-alert title="鏁版嵁搴� MyBatis" url="https://doc.iocoder.cn/mybatis/" />
+ <doc-alert title="澶氭暟鎹簮锛堣鍐欏垎绂伙級" url="https://doc.iocoder.cn/dynamic-datasource/" />
+
+ <ContentWrap :bodyStyle="{ padding: '0px' }" class="!mb-0">
+ <IFrame v-if="!loading" v-loading="loading" :src="url" />
+ </ContentWrap>
+</template>
+<script lang="ts" setup>
+import * as ConfigApi from '@/api/infra/config'
+
+defineOptions({ name: 'InfraDruid' })
+
+const loading = ref(true) // 鏄惁鍔犺浇涓�
+const url = ref(import.meta.env.VITE_BASE_URL + '/druid/index.html')
+
+/** 鍒濆鍖� */
+onMounted(async () => {
+ try {
+ const data = await ConfigApi.getConfigKey('url.druid')
+ if (data && data.length > 0) {
+ url.value = data
+ }
+ } finally {
+ loading.value = false
+ }
+})
+</script>
--
Gitblit v1.8.0