refactor:基于 lint 处理排版

This commit is contained in:
YunaiV
2025-04-22 22:10:33 +08:00
parent 3fe36fd823
commit fb785894b6
322 changed files with 4781 additions and 2093 deletions

View File

@@ -1,13 +1,14 @@
<script setup lang="ts">
import { Page } from '@vben/common-ui'
import { IFrame } from '#/components/iframe'
import { DocAlert } from '#/components/doc-alert'
import { onMounted, ref } from 'vue';
import { ref, onMounted } from 'vue'
import { getConfigKey } from '#/api/infra/config'
import { Page } from '@vben/common-ui';
const loading = ref(true) // 是否加载中
const src = ref(import.meta.env.VITE_BASE_URL + '/admin/applications')
import { getConfigKey } from '#/api/infra/config';
import { DocAlert } from '#/components/doc-alert';
import { IFrame } from '#/components/iframe';
const loading = ref(true); // 是否加载中
const src = ref(`${import.meta.env.VITE_BASE_URL}/admin/applications`);
/** 初始化 */
onMounted(async () => {
@@ -15,14 +16,14 @@ onMounted(async () => {
// 友情提示:如果访问出现 404 问题:
// 1boot 参考 https://doc.iocoder.cn/server-monitor/ 解决;
// 2cloud 参考 https://cloud.iocoder.cn/server-monitor/ 解决
const data = await getConfigKey('url.spring-boot-admin')
const data = await getConfigKey('url.spring-boot-admin');
if (data && data.length > 0) {
src.value = data
src.value = data;
}
} finally {
loading.value = false
loading.value = false;
}
})
});
</script>
<template>
@@ -31,4 +32,4 @@ onMounted(async () => {
<IFrame v-if="!loading" v-loading="loading" :src="src" />
</Page>
</template>
</template>