Browse Source

Update cloudPractice.tsx

lex-xin 4 tháng trước cách đây
mục cha
commit
b5551edc9c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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
          }