zhangjie 1 năm trước cách đây
mục cha
commit
d259c9ee8e
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/components/global/search-form/index.vue

+ 3 - 0
src/components/global/search-form/index.vue

@@ -231,6 +231,9 @@ const firstLineItems = computed(() => {
       init += column.colSpan || 0;
     }
   }
+
+  if (cutIndex.value === 0 && props.fields.length) cutIndex.value = arr.length;
+
   return arr;
 });
 const firstLineItemsFilter = computed(() => {