📝: 更新日志
更新文档
This commit is contained in:
@@ -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 }
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user