Pārlūkot izejas kodu

Update cloudPractice.tsx

lex-xin 3 mēneši atpakaļ
vecāks
revīzija
b5551edc9c
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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
          }