mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-25 00:33:00 +08:00
fix: 去除多余输出
This commit is contained in:
parent
76b22ce05c
commit
30361aa7ca
@ -65,7 +65,6 @@ const isComputedLine = computed(() => {
|
|||||||
|
|
||||||
// * 吸附判定
|
// * 吸附判定
|
||||||
const isSorption = (selectValue: number, componentValue: number) => {
|
const isSorption = (selectValue: number, componentValue: number) => {
|
||||||
console.log(minDistance.value);
|
|
||||||
const isSorption = Math.abs(selectValue - componentValue) <= minDistance.value
|
const isSorption = Math.abs(selectValue - componentValue) <= minDistance.value
|
||||||
return isSorption
|
return isSorption
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user