@funcho/ui 1.1.13 → 1.1.14
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.
|
@@ -103,6 +103,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
103
103
|
box: "border-box"
|
|
104
104
|
});
|
|
105
105
|
const props = __props;
|
|
106
|
+
vue.watch(
|
|
107
|
+
() => props.data,
|
|
108
|
+
() => {
|
|
109
|
+
checkAll.value = false;
|
|
110
|
+
indeterminate.value = false;
|
|
111
|
+
queryValue.value = "";
|
|
112
|
+
}
|
|
113
|
+
);
|
|
106
114
|
const checkAll = vue.ref(false);
|
|
107
115
|
const indeterminate = vue.ref(false);
|
|
108
116
|
const queryValue = vue.ref("");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, createBlock, withKeys, normalizeStyle, createVNode, withCtx, mergeProps } from 'vue';
|
|
1
|
+
import { defineComponent, ref, watch, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, createBlock, withKeys, normalizeStyle, createVNode, withCtx, mergeProps } from 'vue';
|
|
2
2
|
import { useNamespace } from '../../hooks/use-namespace.mjs';
|
|
3
3
|
import '../../components/Button/index.mjs';
|
|
4
4
|
import '../../components/Dialog/index.mjs';
|
|
@@ -99,6 +99,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
99
99
|
box: "border-box"
|
|
100
100
|
});
|
|
101
101
|
const props = __props;
|
|
102
|
+
watch(
|
|
103
|
+
() => props.data,
|
|
104
|
+
() => {
|
|
105
|
+
checkAll.value = false;
|
|
106
|
+
indeterminate.value = false;
|
|
107
|
+
queryValue.value = "";
|
|
108
|
+
}
|
|
109
|
+
);
|
|
102
110
|
const checkAll = ref(false);
|
|
103
111
|
const indeterminate = ref(false);
|
|
104
112
|
const queryValue = ref("");
|