OnePsycho 2 年之前
父節點
當前提交
86c08178d8
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      TEAMModelOS/ClientApp/src/view/dashboard/Index.vue

+ 3 - 3
TEAMModelOS/ClientApp/src/view/dashboard/Index.vue

@@ -119,13 +119,13 @@ export default {
     onSelect(item) {
       if (item.path === 'researchDashboard') {
         this.$router.push('/researchDashboard')
-      } else if (item.path === 'moral' && localStorage.getItem('srvAdr') === 'China' && ['habook', 'ydzt', 'cdydzt', 'hbcn', 'xajkbx'].includes(this.$store.state.userInfo.schoolCode)) {
+      } else if (item.path === 'moral' && localStorage.getItem('srvAdr') === 'China' && ['habook', 'ydzt', 'cdydzt', 'hbcn'].includes(this.$store.state.userInfo.schoolCode)) {
         this.$router.push('/moralDashboard')
-      } else if (item.path === 'art' && localStorage.getItem('srvAdr') === 'China' && ['habook', 'ydzt', 'cdydzt', 'hbcn', 'xajkbx'].includes(this.$store.state.userInfo.schoolCode)) {
+      } else if (item.path === 'art' && localStorage.getItem('srvAdr') === 'China' && ['habook', 'ydzt', 'cdydzt', 'hbcn'].includes(this.$store.state.userInfo.schoolCode)) {
         this.$router.push('/artDashboard')
       } else if (item.path === 'sport' && localStorage.getItem('srvAdr') === 'China' && ['habook', 'ydzt', 'cdydzt', 'hbcn', 'xajkbx'].includes(this.$store.state.userInfo.schoolCode)) {
         this.$router.push('/sportDashboard')
-      } else if (item.path === 'stu' && localStorage.getItem('srvAdr') === 'China' && ['habook', 'ydzt', 'cdydzt', 'hbcn', 'xajkbx'].includes(this.$store.state.userInfo.schoolCode)) {
+      } else if (item.path === 'stu' && localStorage.getItem('srvAdr') === 'China' && ['habook', 'ydzt', 'cdydzt', 'hbcn'].includes(this.$store.state.userInfo.schoolCode)) {
         this.$router.push('/stuDashboard')
       } else {
         this.$Message.warning(this.$t('researchCenter.dashboard.comingSoon'))