This commit is contained in:
xiaoxian521
2021-05-28 16:52:06 +08:00

View File

@@ -188,7 +188,8 @@ export default defineComponent({
}); });
let scrollSwitch = computed(() => { let scrollSwitch = computed(() => {
return data.length >= unref(options).limitMoveNum; // 从 props 解构出来的 属性 不再具有相应性.
return props.data.length >= unref(options).limitMoveNum;
}); });
let hoverStopSwitch = computed(() => { let hoverStopSwitch = computed(() => {