From df1c45d77732cb7c9f3e593380ba72b5d55794f3 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 04 三月 2024 10:32:30 +0800
Subject: [PATCH] #
---
zy-asrs-flow/src/pages/home/react-edge/edge1.jsx | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/zy-asrs-flow/src/pages/home/react-edge/edge1.jsx b/zy-asrs-flow/src/pages/home/react-edge/edge1.jsx
new file mode 100644
index 0000000..e934e66
--- /dev/null
+++ b/zy-asrs-flow/src/pages/home/react-edge/edge1.jsx
@@ -0,0 +1,22 @@
+import React from 'react'
+import { NsGraph } from '@antv/xflow'
+import { useAppContext } from '@antv/xflow'
+import { Tooltip } from 'antd'
+import './edge1.less'
+
+const Edge1 = props => {
+ const ctx = useAppContext()
+ // console.log('edge useAppContext', ctx);
+ // console.log('edge props:', props);
+ return (
+ <div className="edge1-container">
+ <Tooltip
+ title="杩欐槸杩炵嚎涓婃覆鏌撶殑React鍐呭"
+ // defaultVisible={true}
+ >
+ <div>hover鎴�</div>
+ </Tooltip>
+ </div>
+ )
+}
+export default Edge1
\ No newline at end of file
--
Gitblit v1.9.1