@airpower/web 1.8.2 → 1.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +4 -0
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -18397,6 +18397,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
18397
18397
|
function onReset() {
|
|
18398
18398
|
if (props.defaultFilter) {
|
|
18399
18399
|
searchFilter.value = props.defaultFilter;
|
|
18400
|
+
} else if (props.useHook) {
|
|
18401
|
+
searchFilter.value = props.useHook.request.value?.filter;
|
|
18400
18402
|
} else {
|
|
18401
18403
|
searchFilter.value = entityInstance.copy();
|
|
18402
18404
|
}
|
|
@@ -18423,6 +18425,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
18423
18425
|
}
|
|
18424
18426
|
if (props.defaultFilter) {
|
|
18425
18427
|
searchFilter.value = props.defaultFilter;
|
|
18428
|
+
} else if (props.useHook) {
|
|
18429
|
+
searchFilter.value = props.useHook.request.value?.filter;
|
|
18426
18430
|
}
|
|
18427
18431
|
onSearch();
|
|
18428
18432
|
return (_ctx, _cache) => {
|