feat: 日志管理 基本样式框架
This commit is contained in:
parent
e19947893a
commit
bdd6f40079
|
|
@ -0,0 +1,6 @@
|
||||||
|
<template>
|
||||||
|
<div>访问日志</div>
|
||||||
|
</template>
|
||||||
|
<script lang="ts" setup name="SystemLog">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
<template>
|
||||||
|
<div>系统日志</div>
|
||||||
|
</template>
|
||||||
|
<script lang="ts" setup name="AccessLog">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
<template>
|
||||||
|
<a-tabs v-model:activeKey="activeKey">
|
||||||
|
<a-tab-pane key="1" tab="访问日志">
|
||||||
|
<AccessLog />
|
||||||
|
</a-tab-pane>
|
||||||
|
<a-tab-pane key="2" tab="系统日志" force-render>
|
||||||
|
<SystemLog />
|
||||||
|
</a-tab-pane>
|
||||||
|
</a-tabs>
|
||||||
|
</template>
|
||||||
|
<script lang="ts" setup name="LogPage">
|
||||||
|
import { defineComponent, ref } from 'vue';
|
||||||
|
import AccessLog from './Access/index.vue';
|
||||||
|
import SystemLog from './System/index.vue';
|
||||||
|
|
||||||
|
const activeKey = ref('1');
|
||||||
|
</script>
|
||||||
Loading…
Reference in New Issue