Przeglądaj źródła

Merge branch 'iteration-temp-http' into staging

lex-xin 6 miesięcy temu
rodzic
commit
a1f6fe4af2
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/views/cloudPractice/cloudPractice.tsx

+ 2 - 2
src/views/cloudPractice/cloudPractice.tsx

@@ -630,7 +630,7 @@ export default defineComponent({
 
             state.categoryId = null
             state.categoryName = null
-            state.levelId = null
+            state.levelId = -1
             state.typeId = -1
          }
          if (state.categoryList.length > 0 && !["level", "type"].includes(type as any)) {
@@ -707,7 +707,7 @@ export default defineComponent({
                value: -1
             })
 
-            state.levelId = null
+            state.levelId = -1
             state.typeId = -1
          }