📝: 更新日志

更新文档
This commit is contained in:
就眠儀式
2022-06-23 12:21:00 +08:00
parent c8d02931ce
commit 53089c77d5
2 changed files with 5 additions and 6 deletions

View File

@@ -57,9 +57,7 @@ const anim = computed({
get() {
return props.anim;
},
set() {
},
set() {},
});
const emit = defineEmits(["update:modelValue", "change"]);
@@ -138,8 +136,7 @@ const autoplay = () => {
watch(
() => props.autoplay,
() => {
if(props.autoplay)
setInterval(autoplay, props.interval);
if (props.autoplay) setInterval(autoplay, props.interval);
},
{ immediate: true }
);