Browse Source

feat:结构_虚拟滚动数量

ananzhusen 1 năm trước cách đây
mục cha
commit
083494bace
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/components/ElementTree.vue

+ 2 - 2
src/views/components/ElementTree.vue

@@ -12,8 +12,8 @@
       style="padding: 0 4px 8px 8px"
       :scroll="{
         // rowHeight: 34,
-        bufferSize: 10,
-        threshold: 40,
+        bufferSize: 20,
+        threshold: 80,
         type: 'virtual',
       }"
     >