fix: DocAlert 显示导致页面的高度计算不准确:infra 和 system 模块的调整

pull/83/MERGE
YunaiV 2025-04-25 22:03:06 +08:00
parent 4125265582
commit 8e1c75833c
32 changed files with 127 additions and 63 deletions

View File

@ -88,7 +88,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="系统日志" url="https://doc.iocoder.cn/system-log/" /> <DocAlert title="系统日志" url="https://doc.iocoder.cn/system-log/" />
</template>
<DetailModal @success="onRefresh" /> <DetailModal @success="onRefresh" />
<Grid table-title="API 访"> <Grid table-title="API 访">

View File

@ -115,7 +115,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="系统日志" url="https://doc.iocoder.cn/system-log/" /> <DocAlert title="系统日志" url="https://doc.iocoder.cn/system-log/" />
</template>
<DetailModal @success="onRefresh" /> <DetailModal @success="onRefresh" />
<Grid table-title="API "> <Grid table-title="API ">

View File

@ -206,6 +206,7 @@ initDataSourceConfig();
</script> </script>
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert <DocAlert
title="代码生成(单表)" title="代码生成(单表)"
url="https://doc.iocoder.cn/new-feature/" url="https://doc.iocoder.cn/new-feature/"
@ -219,6 +220,7 @@ initDataSourceConfig();
url="https://doc.iocoder.cn/new-feature/master-sub/" url="https://doc.iocoder.cn/new-feature/master-sub/"
/> />
<DocAlert title="单元测试" url="https://doc.iocoder.cn/unit-test/" /> <DocAlert title="单元测试" url="https://doc.iocoder.cn/unit-test/" />
</template>
<ImportModal @success="onRefresh" /> <ImportModal @success="onRefresh" />
<PreviewModal /> <PreviewModal />

View File

@ -25,11 +25,13 @@ onMounted(async () => {
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="数据库 MyBatis" url="https://doc.iocoder.cn/mybatis/" /> <DocAlert title="数据库 MyBatis" url="https://doc.iocoder.cn/mybatis/" />
<DocAlert <DocAlert
title="多数据源(读写分离)" title="多数据源(读写分离)"
url="https://doc.iocoder.cn/dynamic-datasource/" url="https://doc.iocoder.cn/dynamic-datasource/"
/> />
</template>
<IFrame v-if="!loading" v-loading="loading" :src="src" /> <IFrame v-if="!loading" v-loading="loading" :src="src" />
</Page> </Page>

View File

@ -192,9 +192,11 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="定时任务" url="https://doc.iocoder.cn/job/" /> <DocAlert title="定时任务" url="https://doc.iocoder.cn/job/" />
<DocAlert title="异步任务" url="https://doc.iocoder.cn/async-task/" /> <DocAlert title="异步任务" url="https://doc.iocoder.cn/async-task/" />
<DocAlert title="消息队列" url="https://doc.iocoder.cn/message-queue/" /> <DocAlert title="消息队列" url="https://doc.iocoder.cn/message-queue/" />
</template>
<FormModal @success="onRefresh" /> <FormModal @success="onRefresh" />
<DetailModal /> <DetailModal />

View File

@ -88,9 +88,11 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="定时任务" url="https://doc.iocoder.cn/job/" /> <DocAlert title="定时任务" url="https://doc.iocoder.cn/job/" />
<DocAlert title="异步任务" url="https://doc.iocoder.cn/async-task/" /> <DocAlert title="异步任务" url="https://doc.iocoder.cn/async-task/" />
<DocAlert title="消息队列" url="https://doc.iocoder.cn/message-queue/" /> <DocAlert title="消息队列" url="https://doc.iocoder.cn/message-queue/" />
</template>
<DetailModal /> <DetailModal />
<Grid table-title=""> <Grid table-title="">

View File

@ -32,8 +32,10 @@ onMounted(() => {
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="Redis 缓存" url="https://doc.iocoder.cn/redis-cache/" /> <DocAlert title="Redis 缓存" url="https://doc.iocoder.cn/redis-cache/" />
<DocAlert title="本地缓存" url="https://doc.iocoder.cn/local-cache/" /> <DocAlert title="本地缓存" url="https://doc.iocoder.cn/local-cache/" />
</template>
<Card class="mt-5" title="Redis 概览"> <Card class="mt-5" title="Redis 概览">
<Info :redis-data="redisData" /> <Info :redis-data="redisData" />

View File

@ -28,7 +28,9 @@ onMounted(async () => {
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="服务监控" url="https://doc.iocoder.cn/server-monitor/" /> <DocAlert title="服务监控" url="https://doc.iocoder.cn/server-monitor/" />
</template>
<IFrame v-if="!loading" v-loading="loading" :src="src" /> <IFrame v-if="!loading" v-loading="loading" :src="src" />
</Page> </Page>

View File

@ -25,7 +25,9 @@ onMounted(async () => {
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="服务监控" url="https://doc.iocoder.cn/server-monitor/" /> <DocAlert title="服务监控" url="https://doc.iocoder.cn/server-monitor/" />
</template>
<IFrame v-if="!loading" v-loading="loading" :src="src" /> <IFrame v-if="!loading" v-loading="loading" :src="src" />
</Page> </Page>

View File

@ -26,7 +26,9 @@ onMounted(async () => {
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="接口文档" url="https://doc.iocoder.cn/api-doc/" /> <DocAlert title="接口文档" url="https://doc.iocoder.cn/api-doc/" />
</template>
<IFrame v-if="!loading" :src="src" /> <IFrame v-if="!loading" :src="src" />
</Page> </Page>

View File

@ -175,10 +175,12 @@ onMounted(async () => {
<template> <template>
<Page> <Page>
<template #doc>
<DocAlert <DocAlert
title="WebSocket 实时通信" title="WebSocket 实时通信"
url="https://doc.iocoder.cn/websocket/" url="https://doc.iocoder.cn/websocket/"
/> />
</template>
<div class="mt-4 flex flex-col gap-4 md:flex-row"> <div class="mt-4 flex flex-col gap-4 md:flex-row">
<!-- 左侧建立连接发送消息 --> <!-- 左侧建立连接发送消息 -->

View File

@ -59,7 +59,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="地区 & IP" url="https://doc.iocoder.cn/area-and-ip/" /> <DocAlert title="地区 & IP" url="https://doc.iocoder.cn/area-and-ip/" />
</template>
<FormModal @success="onRefresh" /> <FormModal @success="onRefresh" />
<Grid table-title=""> <Grid table-title="">

View File

@ -17,7 +17,9 @@ function onDictTypeSelect(dictType: string) {
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="字典管理" url="https://doc.iocoder.cn/system-dict/" /> <DocAlert title="字典管理" url="https://doc.iocoder.cn/system-dict/" />
</template>
<div class="flex h-full"> <div class="flex h-full">
<!-- 左侧字典类型列表 --> <!-- 左侧字典类型列表 -->

View File

@ -85,7 +85,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="系统日志" url="https://doc.iocoder.cn/system-log/" /> <DocAlert title="系统日志" url="https://doc.iocoder.cn/system-log/" />
</template>
<DetailModal @success="onRefresh" /> <DetailModal @success="onRefresh" />
<Grid table-title=""> <Grid table-title="">

View File

@ -108,7 +108,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
</script> </script>
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="邮件配置" url="https://doc.iocoder.cn/mail" /> <DocAlert title="邮件配置" url="https://doc.iocoder.cn/mail" />
</template>
<FormModal @success="onRefresh" /> <FormModal @success="onRefresh" />
<Grid table-title=""> <Grid table-title="">

View File

@ -73,7 +73,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
</script> </script>
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="邮件配置" url="https://doc.iocoder.cn/mail" /> <DocAlert title="邮件配置" url="https://doc.iocoder.cn/mail" />
</template>
<DetailModal @success="onRefresh" /> <DetailModal @success="onRefresh" />
<Grid table-title=""> <Grid table-title="">

View File

@ -139,7 +139,9 @@ onMounted(async () => {
</script> </script>
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="邮件配置" url="https://doc.iocoder.cn/mail" /> <DocAlert title="邮件配置" url="https://doc.iocoder.cn/mail" />
</template>
<FormModal @success="onRefresh" /> <FormModal @success="onRefresh" />
<SendModal /> <SendModal />

View File

@ -123,11 +123,13 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert <DocAlert
title="功能权限" title="功能权限"
url="https://doc.iocoder.cn/resource-permission" url="https://doc.iocoder.cn/resource-permission"
/> />
<DocAlert title="菜单路由" url="https://doc.iocoder.cn/vue3/route/" /> <DocAlert title="菜单路由" url="https://doc.iocoder.cn/vue3/route/" />
</template>
<FormModal @success="onRefresh" /> <FormModal @success="onRefresh" />
<Grid> <Grid>

View File

@ -74,7 +74,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="短信配置" url="https://doc.iocoder.cn/sms/" /> <DocAlert title="短信配置" url="https://doc.iocoder.cn/sms/" />
</template>
<DetailModal @success="onRefresh" /> <DetailModal @success="onRefresh" />
<Grid table-title="" /> <Grid table-title="" />

View File

@ -155,7 +155,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
</script> </script>
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="站内信配置" url="https://doc.iocoder.cn/notify/" /> <DocAlert title="站内信配置" url="https://doc.iocoder.cn/notify/" />
</template>
<DetailModal @success="onRefresh" /> <DetailModal @success="onRefresh" />
<Grid table-title=""> <Grid table-title="">

View File

@ -132,7 +132,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="短信配置" url="https://doc.iocoder.cn/sms/" /> <DocAlert title="短信配置" url="https://doc.iocoder.cn/sms/" />
</template>
<FormModal @success="onRefresh" /> <FormModal @success="onRefresh" />
<SendModal /> <SendModal />

View File

@ -109,10 +109,12 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert <DocAlert
title="OAuth 2.0SSO 单点登录)" title="OAuth 2.0SSO 单点登录"
url="https://doc.iocoder.cn/oauth2/" url="https://doc.iocoder.cn/oauth2/"
/> />
</template>
<FormModal @success="onRefresh" /> <FormModal @success="onRefresh" />
<Grid table-title="OAuth2 "> <Grid table-title="OAuth2 ">

View File

@ -88,10 +88,12 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert <DocAlert
title="OAuth 2.0SSO 单点登录)" title="OAuth 2.0SSO 单点登录"
url="https://doc.iocoder.cn/oauth2/" url="https://doc.iocoder.cn/oauth2/"
/> />
</template>
<Grid table-title="" /> <Grid table-title="" />
</Page> </Page>

View File

@ -85,7 +85,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="系统日志" url="https://doc.iocoder.cn/system-log/" /> <DocAlert title="系统日志" url="https://doc.iocoder.cn/system-log/" />
</template>
<DetailModal @success="onRefresh" /> <DetailModal @success="onRefresh" />
<Grid table-title=""> <Grid table-title="">

View File

@ -117,7 +117,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="短信配置" url="https://doc.iocoder.cn/sms/" /> <DocAlert title="短信配置" url="https://doc.iocoder.cn/sms/" />
</template>
<FormModal @success="onRefresh" /> <FormModal @success="onRefresh" />
<Grid table-title=""> <Grid table-title="">

View File

@ -85,7 +85,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="短信配置" url="https://doc.iocoder.cn/sms/" /> <DocAlert title="短信配置" url="https://doc.iocoder.cn/sms/" />
</template>
<DetailModal @success="onRefresh" /> <DetailModal @success="onRefresh" />
<Grid table-title=""> <Grid table-title="">

View File

@ -132,7 +132,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="短信配置" url="https://doc.iocoder.cn/sms/" /> <DocAlert title="短信配置" url="https://doc.iocoder.cn/sms/" />
</template>
<FormModal @success="onRefresh" /> <FormModal @success="onRefresh" />
<SendModal /> <SendModal />

View File

@ -109,7 +109,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="三方登录" url="https://doc.iocoder.cn/social-user/" /> <DocAlert title="三方登录" url="https://doc.iocoder.cn/social-user/" />
</template>
<FormModal @success="onRefresh" /> <FormModal @success="onRefresh" />
<Grid table-title=""> <Grid table-title="">

View File

@ -74,7 +74,9 @@ const [Grid] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="三方登录" url="https://doc.iocoder.cn/social-user/" /> <DocAlert title="三方登录" url="https://doc.iocoder.cn/social-user/" />
</template>
<DetailModal /> <DetailModal />
<Grid table-title="" /> <Grid table-title="" />

View File

@ -131,7 +131,9 @@ onMounted(async () => {
</script> </script>
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="SaaS 多租户" url="https://doc.iocoder.cn/saas-tenant/" /> <DocAlert title="SaaS 多租户" url="https://doc.iocoder.cn/saas-tenant/" />
</template>
<FormModal @success="onRefresh" /> <FormModal @success="onRefresh" />
<Grid table-title=""> <Grid table-title="">

View File

@ -109,7 +109,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="SaaS 多租户" url="https://doc.iocoder.cn/saas-tenant/" /> <DocAlert title="SaaS 多租户" url="https://doc.iocoder.cn/saas-tenant/" />
</template>
<FormModal @success="onRefresh" /> <FormModal @success="onRefresh" />
<Grid table-title=""> <Grid table-title="">

View File

@ -201,12 +201,14 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template> <template>
<Page auto-content-height> <Page auto-content-height>
<template #doc>
<DocAlert title="用户体系" url="https://doc.iocoder.cn/user-center/" /> <DocAlert title="用户体系" url="https://doc.iocoder.cn/user-center/" />
<DocAlert title="三方登陆" url="https://doc.iocoder.cn/social-user/" /> <DocAlert title="三方登陆" url="https://doc.iocoder.cn/social-user/" />
<DocAlert <DocAlert
title="Excel 导入导出" title="Excel 导入导出"
url="https://doc.iocoder.cn/excel-import-and-export/" url="https://doc.iocoder.cn/excel-import-and-export/"
/> />
</template>
<FormModal @success="onRefresh" /> <FormModal @success="onRefresh" />
<ResetPasswordModal @success="onRefresh" /> <ResetPasswordModal @success="onRefresh" />