From e938118594ee0d5a13513942acc221c6e2d1cc35 Mon Sep 17 00:00:00 2001 From: windychen Date: Fri, 7 Aug 2026 16:42:01 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=89=88=E6=9C=AC=200.1.0=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=20=E9=BB=98=E8=AE=A4=20query-option=20=E6=B7=B1?= =?UTF-8?q?=E6=8B=B7=E8=B4=9D=E5=AF=BC=E5=87=BA=E4=B8=8E=20schema=20?= =?UTF-8?q?=E7=BC=BA=E7=9C=81=E5=9B=9E=E9=80=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/TransForm.vue | 5 +- src/composables/useFilters.js | 20 +++++++- src/config.js | 37 +++++++++++++- src/index.js | 3 ++ test/transForm.test.js | 60 ++++++++++++++++++++++ test/useFilters.test.js | 93 ++++++++++++++++++++++++++++++++++- 6 files changed, 212 insertions(+), 6 deletions(-) create mode 100644 test/transForm.test.js diff --git a/src/TransForm.vue b/src/TransForm.vue index b7944bd..2a4bd4d 100644 --- a/src/TransForm.vue +++ b/src/TransForm.vue @@ -6,6 +6,7 @@ import { buildFilters, createFieldState, groupRows, + resolveQueryOption, } from './composables/useFilters.js'; import UnknownPlaceholder from './components/UnknownPlaceholder.vue'; const props = defineProps({ @@ -114,7 +115,7 @@ defineExpose({ getFilters, setFilters, loadFilters, reset }); :disabled="state[fieldDef.field]?.disabled" >