zhangjie 1 anno fa
parent
commit
d259c9ee8e
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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(() => {