Browse Source

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

zhuliu 1 năm trước cách đây
mục cha
commit
e87f85ef9e
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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)