Ver Fonte

fix: 基础表格的demo

hanxiaohui há 5 meses atrás
pai
commit
08094a0ed3
1 ficheiros alterados com 5 adições e 0 exclusões
  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"})
+      // }
     },
   });