diff --git a/src/components/QuestionBankSection.vue b/src/components/QuestionBankSection.vue
index 00ad1fa..c326dda 100644
--- a/src/components/QuestionBankSection.vue
+++ b/src/components/QuestionBankSection.vue
@@ -3,7 +3,7 @@
@@ -13,16 +13,14 @@
ref="categoryTree"
:data="categoryTreeData"
:props="treeProps"
- node-key="id"
+ node-key="nodeKey"
show-checkbox
:default-expand-all="false"
:expand-on-click-node="true"
@check="handleTreeCheck"
- :default-checked-keys="defaultCheckedKeys"
- :filter-node-method="filterNode"
>
-
+
{{ node.label }}
{{ data.difficulty }}
@@ -48,7 +46,7 @@
总计题目:
- {{ categoryTreeData && categoryTreeData[0].count }} 道题目
+ {{ totalQuestionCount }} 道题目
@@ -75,46 +73,40 @@