Browse Source

fix: 基础表格的demo

hanxiaohui 5 tháng trước cách đây
mục cha
commit
08094a0ed3
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      src/views/table-demo/index.vue

+ 5 - 0
src/views/table-demo/index.vue

@@ -128,6 +128,11 @@
         pageNum: 1,
       },
       toolbarConfig: {},
+      // tableSearchBeforeBiz() {
+      //   // 每次查询接口之前,都会调用这个回调函数
+      //   const searchParams = getValue("searchConfig.data");
+      //   setValue("searchConfig.data", {...searchParams, otherField: "abc"})
+      // }
     },
   });