mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 08:12:49 +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) => {
|
||||
console.log(minDistance.value);
|
||||
const isSorption = Math.abs(selectValue - componentValue) <= minDistance.value
|
||||
return isSorption
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user