判断是否是老师,是老师添加后台管理

This commit is contained in:
yangjun 2023-05-13 10:56:54 +08:00
parent 70f8163ec6
commit 554d769367
1 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,7 @@
</span>
<template #overlay>
<a-menu>
<a-menu-item>
<a-menu-item v-if="getUserSf()=='T'">
<!-- <a href="javascript:;">后台管理</a> -->
<RouterLink to="/dashboard/analysis">后台管理</RouterLink>
</a-menu-item>
@ -49,6 +49,7 @@
import { DownOutlined, ArrowUpOutlined } from '@ant-design/icons-vue';
import { useUserStore } from '/@/store/modules/user';
import YjfkModal from '/@/views/site/yjfk/YjfkModal.vue';
import { getUserSf } from '/@/views/site/utils/index';
const props = defineProps({
showRightButton: { type: Boolean, default: false }