|
|
@@ -15,11 +15,12 @@
|
|
|
<el-breadcrumb separator="/">
|
|
|
<el-breadcrumb-item :to="{ path: '/' }">主页</el-breadcrumb-item>
|
|
|
<el-breadcrumb-item v-if="route.name !== 'home'"
|
|
|
- >{{ route.meta?.title || route.path }}
|
|
|
+ >{{ route.meta?.title || route.path }}
|
|
|
</el-breadcrumb-item>
|
|
|
</el-breadcrumb>
|
|
|
<div class="grow"></div>
|
|
|
- <div class="mr-8 text-sm text-neutral-600 dark:text-neutral-400 invisible md:visible" v-if="user.roles.includes('user')">
|
|
|
+ <div class="mr-8 text-sm text-neutral-600 dark:text-neutral-400 invisible md:visible"
|
|
|
+ v-if="user.roles.includes('user')">
|
|
|
已发送: {{ user.send }}, 余额: {{ user.balance }}
|
|
|
</div>
|
|
|
<DarkSwitch class="mr-4" />
|
|
|
@@ -142,6 +143,17 @@ if (roles.includes('admin')) {
|
|
|
title: '主页',
|
|
|
icon: Home
|
|
|
},
|
|
|
+ {
|
|
|
+ name: 'rcs-parent',
|
|
|
+ title: 'RCS管理',
|
|
|
+ icon: DeviceMobileMessage,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ name: '/task',
|
|
|
+ title: '任务列表'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
{
|
|
|
name: 'user-parent',
|
|
|
title: '用户管理',
|