Commit 73f1eb5b authored by wuyongsheng's avatar wuyongsheng

feat: 显示title

parent 0c678984
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com * @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Date: 2022-07-12 11:20:29 * @Date: 2022-07-12 11:20:29
* @LastEditors: 吴永生 15770852798@163.com * @LastEditors: 吴永生 15770852798@163.com
* @LastEditTime: 2022-08-31 17:09:26 * @LastEditTime: 2022-09-07 10:06:13
* @FilePath: /bkunyun/src/views/Project/components/Flow/components/BatchNode.tsx * @FilePath: /bkunyun/src/views/Project/components/Flow/components/BatchNode.tsx
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -63,7 +63,7 @@ const BatchNode = (props: IBatchNode) => { ...@@ -63,7 +63,7 @@ const BatchNode = (props: IBatchNode) => {
{inParamsArr?.length {inParamsArr?.length
? inParamsArr.map((item, index) => { ? inParamsArr.map((item, index) => {
return ( return (
<MyTooltip title={item.name} key={uuid()}> <MyTooltip title={item.title} key={uuid()}>
<Handle <Handle
className={styles.handleBox} className={styles.handleBox}
id={item.name} id={item.name}
...@@ -95,7 +95,7 @@ const BatchNode = (props: IBatchNode) => { ...@@ -95,7 +95,7 @@ const BatchNode = (props: IBatchNode) => {
{outParamsArr?.length {outParamsArr?.length
? outParamsArr.map((item, index) => { ? outParamsArr.map((item, index) => {
return ( return (
<MyTooltip title={item.name} key={uuid()}> <MyTooltip title={item.title} key={uuid()}>
<Handle <Handle
className={styles.handleBox} className={styles.handleBox}
id={item.name} id={item.name}
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com * @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Date: 2022-07-12 11:29:46 * @Date: 2022-07-12 11:29:46
* @LastEditors: 吴永生 15770852798@163.com * @LastEditors: 吴永生 15770852798@163.com
* @LastEditTime: 2022-09-02 14:23:07 * @LastEditTime: 2022-09-07 10:44:23
* @FilePath: /bkunyun/src/views/Project/components/Flow/components/FlowNode/index.tsx * @FilePath: /bkunyun/src/views/Project/components/Flow/components/FlowNode/index.tsx
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -81,7 +81,7 @@ const FlowNode = (props: any) => { ...@@ -81,7 +81,7 @@ const FlowNode = (props: any) => {
{inParamsArr?.length {inParamsArr?.length
? inParamsArr.map((item: any, index: number) => { ? inParamsArr.map((item: any, index: number) => {
return ( return (
<MyTooltip title={item.name} key={uuid()}> <MyTooltip title={item.title} key={uuid()}>
<Handle <Handle
className={styles.handleBox} className={styles.handleBox}
id={item.name} id={item.name}
...@@ -117,7 +117,7 @@ const FlowNode = (props: any) => { ...@@ -117,7 +117,7 @@ const FlowNode = (props: any) => {
{outParamsArr?.length {outParamsArr?.length
? outParamsArr.map((item: any, index: number) => { ? outParamsArr.map((item: any, index: number) => {
return ( return (
<MyTooltip title={item.name} key={uuid()}> <MyTooltip title={item.title} key={uuid()}>
<Handle <Handle
className={styles.handleBox} className={styles.handleBox}
id={item.name} id={item.name}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment