Browse Source

修改显示

lex 2 years ago
parent
commit
c3547b0c2b

+ 2 - 2
src/school/orchestra/compontent/information.tsx

@@ -254,9 +254,9 @@ export default defineComponent({
         })
         state.currentData = [year - 1 + '']
         state.actionText = '下学期'
-        state.actionType = 'up'
+        state.actionType = 'down'
         state.actionTerm.forEach((item: any) => {
-          if (item.value === 'up') {
+          if (item.value === 'down') {
             item.selected = true
           } else {
             item.selected = false

+ 2 - 2
src/school/orchestra/compontent/plan.tsx

@@ -197,9 +197,9 @@ export default defineComponent({
         })
         state.currentData = [year - 1 + '']
         state.actionText = '下学期'
-        state.actionType = 'up'
+        state.actionType = 'down'
         state.actionTerm.forEach((item: any) => {
-          if (item.value === 'up') {
+          if (item.value === 'down') {
             item.selected = true
           } else {
             item.selected = false