Browse Source

修改重置问题

lex 1 năm trước cách đây
mục cha
commit
d2cec17b5e
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/views/classList/index.tsx

+ 3 - 0
src/views/classList/index.tsx

@@ -84,6 +84,9 @@ export default defineComponent({
         gradeYear: null,
         gradeLevel: ''
       };
+      if (state.popSelectYearList.length > 0) {
+        state.searchForm.gradeYear = state.popSelectYearList[0].id;
+      }
       getList();
     };