变更
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user