Explorar el Código

fix: 基础表格的demo

hanxiaohui hace 5 meses
padre
commit
08094a0ed3
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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"})
+      // }
     },
   });