fix: 去除多余输出
This commit is contained in:
parent
b2e255bb42
commit
6f74838e1e
@ -65,7 +65,6 @@ const isComputedLine = computed(() => {
|
||||
|
||||
// * 吸附判定
|
||||
const isSorption = (selectValue: number, componentValue: number) => {
|
||||
console.log(minDistance.value);
|
||||
const isSorption = Math.abs(selectValue - componentValue) <= minDistance.value
|
||||
return isSorption
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user