⬆️(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

@@ -35,7 +35,7 @@
"dependencies": {
"@layui/icons-vue": "^1.0.9",
"@layui/layer-vue": "^1.3.16",
"@vueuse/core": "^8.6.0",
"@vueuse/core": "^8.7.3",
"async-validator": "^4.1.1",
"cropperjs": "^1.5.12",
"darkreader": "^4.9.51",

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[]);
});