mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 去除多余输出
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user