Sfoglia il codice sorgente

产品更新时查询传参时分页信息修改

zhuliu 1 anno fa
parent
commit
e87f85ef9e
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      src/views/product/components/view/productTable.vue

+ 3 - 1
src/views/product/components/view/productTable.vue

@@ -186,7 +186,9 @@ export default {
         this.getList2(params,1)
       }else if(this.action.type == 2){
         let params = {
-          ...this.queryParams,
+          // ...this.queryParams,
+          size:1,
+          current:1,
           searchQuery:`product_id=${this.action.id}`,//检索条件
         }
         this.getList2(params,2)