This commit is contained in:
2024-09-24 17:04:44 +08:00
parent 6cd84e0021
commit 30528311c1
77 changed files with 2251 additions and 1361 deletions

View File

@@ -15,9 +15,12 @@ const _sfc_main = defineComponent({
emits: ["update:modelValue", "change"],
setup(__props, { emit }) {
const props = __props;
watch(() => props.modelValue, (val) => {
activeValues.value = [].concat(val);
});
watch(
() => props.modelValue,
(val) => {
activeValues.value = [].concat(val);
}
);
const activeValues = ref([].concat(props.modelValue));
provide("layCollapse", {
accordion: props.accordion,