⬆️(vueuse/core): 8.7.3

更新文档
This commit is contained in:
就眠儀式
2022-06-17 21:04:26 +08:00
parent 79acc7b078
commit 622c8c1eac
3 changed files with 13 additions and 12 deletions

View File

@@ -15,7 +15,7 @@ import {
VNode,
Ref,
Component,
watch
watch,
} from "vue";
import CarouselItem from "../carouselItem/index.vue";
@@ -75,6 +75,7 @@ const setItemInstanceBySlot = function (nodeList: VNode[]) {
};
watch(slotsChange, () => {
alert("111111111111")
childrens.value = [];
setItemInstanceBySlot((slot.default && slot.default()) as VNode[]);
});