显示指示器

This commit is contained in:
zqm
2026-01-20 14:57:40 +08:00
parent 4d563a9088
commit 8fc86aae18

View File

@@ -1415,6 +1415,9 @@ const handleAreaDragEnd = async (data) => {
targetAreaId.value = null;
targetAreaRect.value = { left: 0, top: 0, width: 0, height: 0 };
// ✅ 修复:隐藏指示器
showDockIndicator.value = false;
// 清理防抖函数
debouncedDetectMouseArea.cancel();
@@ -1440,6 +1443,9 @@ const handleAreaDragCancel = async (data) => {
targetAreaId.value = null;
targetAreaRect.value = { left: 0, top: 0, width: 0, height: 0 };
// ✅ 修复:隐藏指示器
showDockIndicator.value = false;
// 清理防抖函数
debouncedDetectMouseArea.cancel();