瀏覽代碼

fix: 基础表格的demo

hanxiaohui 5 月之前
父節點
當前提交
08094a0ed3
共有 1 個文件被更改,包括 5 次插入0 次删除
  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"})
+      // }
     },
   });