显示指示器
This commit is contained in:
@@ -1415,6 +1415,9 @@ const handleAreaDragEnd = async (data) => {
|
|||||||
targetAreaId.value = null;
|
targetAreaId.value = null;
|
||||||
targetAreaRect.value = { left: 0, top: 0, width: 0, height: 0 };
|
targetAreaRect.value = { left: 0, top: 0, width: 0, height: 0 };
|
||||||
|
|
||||||
|
// ✅ 修复:隐藏指示器
|
||||||
|
showDockIndicator.value = false;
|
||||||
|
|
||||||
// 清理防抖函数
|
// 清理防抖函数
|
||||||
debouncedDetectMouseArea.cancel();
|
debouncedDetectMouseArea.cancel();
|
||||||
|
|
||||||
@@ -1440,6 +1443,9 @@ const handleAreaDragCancel = async (data) => {
|
|||||||
targetAreaId.value = null;
|
targetAreaId.value = null;
|
||||||
targetAreaRect.value = { left: 0, top: 0, width: 0, height: 0 };
|
targetAreaRect.value = { left: 0, top: 0, width: 0, height: 0 };
|
||||||
|
|
||||||
|
// ✅ 修复:隐藏指示器
|
||||||
|
showDockIndicator.value = false;
|
||||||
|
|
||||||
// 清理防抖函数
|
// 清理防抖函数
|
||||||
debouncedDetectMouseArea.cancel();
|
debouncedDetectMouseArea.cancel();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user