浏览代码

修改显示

lex 2 年之前
父节点
当前提交
c3547b0c2b
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      src/school/orchestra/compontent/information.tsx
  2. 2 2
      src/school/orchestra/compontent/plan.tsx

+ 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