diff --git a/.env.production b/.env.production
index b7f30f3..0919367 100644
--- a/.env.production
+++ b/.env.production
@@ -22,4 +22,4 @@ VITE_APP_BUILD_BASE_PATH = 'https://prev.ysaix.com:7868/'
VITE_APP_WS_URL = 'wss://file.ysaix.com:7868'
# 是否显示开发工具
-VITE_SHOW_DEV_TOOLS = 'true'
+VITE_SHOW_DEV_TOOLS = 'false'
diff --git a/src/renderer/src/layout/components/Aside.vue b/src/renderer/src/layout/components/Aside.vue
index 9182498..ba32ca5 100644
--- a/src/renderer/src/layout/components/Aside.vue
+++ b/src/renderer/src/layout/components/Aside.vue
@@ -11,7 +11,7 @@
- -
+
-
学校认证
{{ userStore.DeptInfo.register.schoolName }}
@@ -19,8 +19,8 @@
- 加入学校
- 个人中心
- - 学校管理
- - 班级中心
+ - 学校管理
+ - 班级中心
- 退出登录
diff --git a/src/renderer/src/views/profile/index.vue b/src/renderer/src/views/profile/index.vue
index 93fc043..9b7fff4 100644
--- a/src/renderer/src/views/profile/index.vue
+++ b/src/renderer/src/views/profile/index.vue
@@ -4,7 +4,7 @@
{{ state.user.nickName }}
-
@@ -35,7 +35,7 @@ import { getUserProfile } from '@/api/system/user'
import pkc from "../../../../../package.json"
//选择学校和班级
import selectClass from './components/selectClass.vue'
-
+import useUserStore from '@/store/modules/user'
const version = ref(pkc.version)
const activeTab = ref('userinfo')
@@ -46,6 +46,12 @@ const state = reactive({
postGroup: {}
})
+const isStadium = () => {
+ let user = useUserStore().user
+ let roles = user.roles
+ return roles.some(item => item.roleKey === 'stadium')
+}
+
const isSubject = ref(false)
async function getUser() {
getUserProfile().then((response) => {