Explorar o código

fix:课纲显示问题

OnePsycho %!s(int64=2) %!d(string=hai) anos
pai
achega
0658d74377
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  1. 4 3
      TEAMModelOS/ClientApp/src/view/syllabus/Syllabus.vue

+ 4 - 3
TEAMModelOS/ClientApp/src/view/syllabus/Syllabus.vue

@@ -2755,9 +2755,10 @@ export default {
         if (n && this.$route.name === 'syllabus') {
           this.nodeItems = []
           this.tabResources = []
-          if (old && old.id) {
-            this.getSchoolInfo(n.periodIndex)
-          }
+          // if (old && old.id) {
+          //   this.getSchoolInfo(n.periodIndex)
+          // }
+          this.getSchoolInfo(n.periodIndex)
           this.currentPeriodIndex = n.periodIndex
         }
       }