Commit 16485b8e authored by chenshouchao's avatar chenshouchao

Merge branch 'master' into feat-20220908-dataset

parents 2e620e26 95d8fd24
/* /*
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com * @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Date: 2022-07-11 11:56:58 * @Date: 2022-07-11 11:56:58
* @LastEditors: 吴永生#A02208 yongsheng.wu@wholion.com * @LastEditors: 吴永生 15770852798@163.com
* @LastEditTime: 2022-07-22 10:51:10 * @LastEditTime: 2022-09-08 13:55:20
* @FilePath: /bkunyun/src/components/mui/MyTooltip.tsx * @FilePath: /bkunyun/src/components/mui/MyTooltip.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
*/ */
...@@ -39,7 +39,7 @@ const MyTooltip = (props: IMyTooltipProps) => { ...@@ -39,7 +39,7 @@ const MyTooltip = (props: IMyTooltipProps) => {
<Tooltip <Tooltip
// interactive={true} // interactive={true}
arrow arrow
title={title} title={title || ''}
placement={placement} placement={placement}
{...other} {...other}
> >
......
...@@ -210,7 +210,7 @@ const ConfigForm = (props: ConfigFormProps) => { ...@@ -210,7 +210,7 @@ const ConfigForm = (props: ConfigFormProps) => {
</span> </span>
</div> </div>
<MyTooltip <MyTooltip
title={parameter.description || parameter.name} title={parameter.description}
placement="right" placement="right"
> >
<div className={styles.parameterContent}> <div className={styles.parameterContent}>
......
...@@ -329,7 +329,7 @@ const Flow = (props: IProps) => { ...@@ -329,7 +329,7 @@ const Flow = (props: IProps) => {
/** 坐标 */ /** 坐标 */
position: { position: {
/** 流算子生成的时候多加了15 兼容历史模版数据 直接这边减去15 */ /** 流算子生成的时候多加了15 兼容历史模版数据 直接这边减去15 */
x: Number(item.position?.x - 15) || 0, x: Number(item.position?.x) || 0,
y: Number(item.position?.y) || 0, y: Number(item.position?.y) || 0,
}, },
/** /**
......
...@@ -190,7 +190,7 @@ const ParameterSetting = (props: IParameterSettingProps) => { ...@@ -190,7 +190,7 @@ const ParameterSetting = (props: IParameterSettingProps) => {
(parameter: IParameter) => { (parameter: IParameter) => {
return ( return (
<MyTooltip <MyTooltip
title={parameter.description || parameter.name} title={parameter.description}
placement="right" placement="right"
> >
<div> <div>
......
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