Merge pull request #13 from sperains/patch-1

bug修复
This commit is contained in:
啝裳
2021-05-28 02:08:49 +08:00
committed by GitHub

View File

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