소스 검색

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"})
+      // }
     },
   });