update
This commit is contained in:
@@ -106,10 +106,6 @@ onMounted(fetchTemples);
|
||||
<template #icon><TeamOutlined /></template>
|
||||
用户管理
|
||||
</a-menu-item>
|
||||
<a-menu-item key="todos" @click="openRoute('/todos')">
|
||||
<template #icon><ProfileOutlined /></template>
|
||||
Todo 管理
|
||||
</a-menu-item>
|
||||
</a-menu>
|
||||
</a-layout-sider>
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ import ProductDetail from '@/views/products/ProductDetail.vue';
|
||||
import ProductManagement from '@/views/products/ProductManagement.vue';
|
||||
import RitualManagement from '@/views/rituals/RitualManagement.vue';
|
||||
import TempleManagement from '@/views/temples/TempleManagement.vue';
|
||||
import TodoManagement from '@/views/todos/TodoManagement.vue';
|
||||
import UserManagement from '@/views/users/UserManagement.vue';
|
||||
|
||||
export const router = createRouter({
|
||||
@@ -96,15 +95,6 @@ export const router = createRouter({
|
||||
title: '用户管理',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'todos',
|
||||
name: 'todos',
|
||||
component: TodoManagement,
|
||||
meta: {
|
||||
module: 'todos',
|
||||
title: 'Todo 管理',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
<script setup lang="ts">
|
||||
import { ApiOutlined, ProfileOutlined } from '@ant-design/icons-vue';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<section class="workspace">
|
||||
<div class="page-heading">
|
||||
<div>
|
||||
<h1>Todo 管理</h1>
|
||||
<p>对应后端 Todo 模块,接口已存在,页面后续接入</p>
|
||||
</div>
|
||||
<a-tag color="processing">
|
||||
<template #icon><ApiOutlined /></template>
|
||||
/todos
|
||||
</a-tag>
|
||||
</div>
|
||||
|
||||
<a-empty description="Todo 前端功能后续接入">
|
||||
<template #image>
|
||||
<ProfileOutlined class="empty-icon" />
|
||||
</template>
|
||||
</a-empty>
|
||||
</section>
|
||||
</template>
|
||||
Reference in New Issue
Block a user