Selaa lähdekoodia

Update cloudPractice.tsx

lex-xin 4 kuukautta sitten
vanhempi
commit
b5551edc9c
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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
          }