feat: 删除页眉下方的标题和说明内容
This commit is contained in:
15
src/views/monitor/cache/index.vue
vendored
15
src/views/monitor/cache/index.vue
vendored
@@ -1,5 +1,4 @@
|
||||
<script setup lang="ts">
|
||||
import { useRoute } from 'vue-router';
|
||||
import { reactive, ref, onMounted } from 'vue';
|
||||
import {
|
||||
listCacheName,
|
||||
@@ -14,10 +13,6 @@ import { ColumnsType } from 'ant-design-vue/lib/table/Table';
|
||||
import { message } from 'ant-design-vue/lib';
|
||||
import { hasPermissions } from '@/plugins/auth-user';
|
||||
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
|
||||
const route = useRoute();
|
||||
|
||||
/**路由标题 */
|
||||
let title = ref<string>(route.meta.title ?? '标题');
|
||||
|
||||
/**请求点击 */
|
||||
let isClick = ref<boolean>(false);
|
||||
@@ -271,15 +266,7 @@ onMounted(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<PageContainer :title="title">
|
||||
<template #content>
|
||||
<a-typography-paragraph>
|
||||
系统在缓存
|
||||
<a-typography-text code>Redis</a-typography-text>
|
||||
应用程序中的可控的缓存信息
|
||||
</a-typography-paragraph>
|
||||
</template>
|
||||
|
||||
<PageContainer>
|
||||
<a-row :gutter="20">
|
||||
<a-col :lg="8" :md="8" :xs="24">
|
||||
<a-card
|
||||
|
||||
15
src/views/monitor/cache/info.vue
vendored
15
src/views/monitor/cache/info.vue
vendored
@@ -14,9 +14,7 @@ import { CanvasRenderer } from 'echarts/renderers';
|
||||
import { PageContainer } from '@ant-design-vue/pro-layout';
|
||||
import { getCache } from '@/api/monitor/cache';
|
||||
import { reactive, ref, onMounted } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
|
||||
const route = useRoute();
|
||||
|
||||
echarts.use([
|
||||
ToolboxComponent,
|
||||
@@ -27,9 +25,6 @@ echarts.use([
|
||||
LabelLayout,
|
||||
]);
|
||||
|
||||
/**路由标题 */
|
||||
let title = ref<string>(route.meta.title ?? '标题');
|
||||
|
||||
/**加载状态 */
|
||||
let loading = ref<boolean>(true);
|
||||
|
||||
@@ -153,15 +148,7 @@ onMounted(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<PageContainer :title="title" :loading="loading">
|
||||
<template #content>
|
||||
<a-typography-paragraph>
|
||||
缓存
|
||||
<a-typography-text code>Redis</a-typography-text>
|
||||
应用程序的信息
|
||||
</a-typography-paragraph>
|
||||
</template>
|
||||
|
||||
<PageContainer :loading="loading">
|
||||
<a-card
|
||||
title="基本信息"
|
||||
:bordered="false"
|
||||
|
||||
Reference in New Issue
Block a user