Jeffrey Chen преди 7 месеца
родител
ревизия
72b25f632b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/src/dialog/tooltip.ts

+ 1 - 1
app/src/dialog/tooltip.ts

@@ -44,7 +44,7 @@ export const showTooltip = (message: string, target: Element, tooltipClass?: str
         left = parentRect.right + 8;
         left = parentRect.right + 8;
     } else if (position?.endsWith("parentW")) {
     } else if (position?.endsWith("parentW")) {
         // 数据库属性视图
         // 数据库属性视图
-        top = parentRect.top + (parseInt(position) || 0) || 8;
+        top = parentRect.top + (parseInt(position) || 8);
         left = parentRect.left - messageElement.clientWidth;
         left = parentRect.left - messageElement.clientWidth;
     }
     }