diff --git a/package.json b/package.json index 809627be..3721a3c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vxe-pc-ui", - "version": "4.0.75", + "version": "4.0.76", "description": "A vue based PC component library", "scripts": { "update": "npm install --legacy-peer-deps", @@ -63,7 +63,7 @@ "vue": "3.4.27", "vue-i18n": "^9.13.1", "vue-router": "^4.3.2", - "vxe-table": "^4.7.36" + "vxe-table": "^4.7.54" }, "vetur": { "tags": "helper/vetur/tags.json", diff --git a/types/components/table-module/filter.d.ts b/types/components/table-module/filter.d.ts index 4ccb84f6..3ef8f653 100644 --- a/types/components/table-module/filter.d.ts +++ b/types/components/table-module/filter.d.ts @@ -51,6 +51,10 @@ export interface TableFilterMethods { * 获取当前筛选的所有列信息 */ getCheckedFilters(): VxeTableDefines.FilterCheckedParams[] + /** + * 更新筛选选项的状态 + */ + updateFilterOptionStatus(item: any, checked: boolean): Promise } export interface TableFilterPrivateMethods { @@ -58,6 +62,11 @@ export interface TableFilterPrivateMethods { handleClearFilter(column: any): void triggerFilterEvent(evnt: any, column: any, params: any): void confirmFilterEvent(evnt: Event): void + handleFilterChangeRadioOption (evnt: Event, checked: boolean, item: any): void + handleFilterChangeMultipleOption (evnt: Event, checked: boolean, item: any): void + handleFilterChangeOption (evnt: Event, checked: boolean, item: any): void + handleFilterConfirmFilter (evnt: Event): void + handleFilterResetFilter (evnt: Event): void } declare module '../grid' {