mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:52:57 +00:00
fix: tips
This commit is contained in:
parent
a827c492ba
commit
986b428768
@ -149,6 +149,7 @@ limitations under the License. -->
|
|||||||
function stopMoveNode(event: MouseEvent) {
|
function stopMoveNode(event: MouseEvent) {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
currentNode.value = null;
|
currentNode.value = null;
|
||||||
|
hideTip();
|
||||||
}
|
}
|
||||||
|
|
||||||
function showNodeTip(event: MouseEvent, data: Node) {
|
function showNodeTip(event: MouseEvent, data: Node) {
|
||||||
@ -156,7 +157,7 @@ limitations under the License. -->
|
|||||||
}
|
}
|
||||||
|
|
||||||
function hideTip() {
|
function hideTip() {
|
||||||
emits("showNodeTip");
|
emits("hideTip");
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleNodeClick(event: MouseEvent, d: Node & { x: number; y: number }) {
|
function handleNodeClick(event: MouseEvent, d: Node & { x: number; y: number }) {
|
||||||
|
Loading…
Reference in New Issue
Block a user