(component): update

This commit is contained in:
就眠儀式 2022-08-11 22:54:17 +08:00
parent fa84d00a00
commit 051ba684ca

View File

@ -437,17 +437,23 @@ const classes = computed(() => {
];
});
watch(() => props.height, () => {
nextTick(() => {
getScrollWidth();
})
})
watch(
() => props.height,
() => {
nextTick(() => {
getScrollWidth();
});
}
);
watch(() => props.maxHeight, () => {
nextTick(() => {
getScrollWidth();
})
})
watch(
() => props.maxHeight,
() => {
nextTick(() => {
getScrollWidth();
});
}
);
onMounted(() => {
getScrollWidth();