Explorar el Código

修改重置问题

lex hace 1 año
padre
commit
d2cec17b5e
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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();
     };