fix: DocAlert 显示导致页面的高度计算不准确:在 page.vue 增加 doc 区域

This commit is contained in:
YunaiV
2025-04-25 21:42:56 +08:00
parent 3be2d4c87f
commit 4125265582
2 changed files with 21 additions and 3 deletions

View File

@@ -6,7 +6,6 @@ import type {
import type { SystemRoleApi } from '#/api/system/role';
import { Page, useVbenModal } from '@vben/common-ui';
import { isDocAlertEnable } from '@vben/hooks';
import { Download, Plus } from '@vben/icons';
import { downloadFileFromBlobPart } from '@vben/utils';
@@ -142,7 +141,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template>
<Page auto-content-height>
<template #description v-if="isDocAlertEnable()">
<template #doc>
<DocAlert
title="功能权限"
url="https://doc.iocoder.cn/resource-permission"