refactor: 改为Page组件包裹

This commit is contained in:
dap 2024-08-12 07:53:45 +08:00
parent f38dc1387c
commit 85ab87fae1

View File

@ -1,6 +1,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { onMounted, reactive, ref } from 'vue'; import { onMounted, reactive, ref } from 'vue';
import { Page } from '@vben/common-ui';
import { CommandLineIcon, MemoryIcon, RedisIcon } from '@vben/icons'; import { CommandLineIcon, MemoryIcon, RedisIcon } from '@vben/icons';
import { Button, Card, Col, Row } from 'ant-design-vue'; import { Button, Card, Col, Row } from 'ant-design-vue';
@ -49,7 +50,7 @@ async function loadInfo() {
</script> </script>
<template> <template>
<div class="m-[16px]"> <Page title="缓存监控">
<Row :gutter="[15, 15]"> <Row :gutter="[15, 15]">
<Col :span="24"> <Col :span="24">
<Card size="small"> <Card size="small">
@ -98,5 +99,5 @@ async function loadInfo() {
</Card> </Card>
</Col> </Col>
</Row> </Row>
</div> </Page>
</template> </template>