判断是否是老师,是老师添加后台管理
This commit is contained in:
parent
70f8163ec6
commit
554d769367
|
@ -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 }
|
||||
|
|
Loading…
Reference in New Issue