Commit 00c7b32a548a5086624acfa2e83aa27dc1cd5c72
1 parent
7d3d7435
计算方案sName允许双击;
Showing
1 changed file
with
2 additions
and
0 deletions
src/components/Common/CommonComponent/index.js
| @@ -432,6 +432,8 @@ export default class CommonComponent extends Component { | @@ -432,6 +432,8 @@ export default class CommonComponent extends Component { | ||
| 432 | } else if (this.props.onSaveState) { | 432 | } else if (this.props.onSaveState) { |
| 433 | this.props.onSaveState({ sCurrMemoProps }); | 433 | this.props.onSaveState({ sCurrMemoProps }); |
| 434 | } | 434 | } |
| 435 | + } else if (commonUtils.isNotEmptyObject(sMemo) && sMemo.indexOf('sName') > -1) { /* 计算方案 变量设置双击弹出 */ | ||
| 436 | + this.props.onFieldDoubleClick(this.props.record, this.state.dataValue, this.props.showConfig, this.props.name); | ||
| 435 | } else if (commonUtils.isNotEmptyObject(sMemo) && sMemo.indexOf('sValue') > -1) { /* 计算方案 变量设置双击弹出 */ | 437 | } else if (commonUtils.isNotEmptyObject(sMemo) && sMemo.indexOf('sValue') > -1) { /* 计算方案 变量设置双击弹出 */ |
| 436 | this.props.onFieldDoubleClick(this.props.record, this.state.dataValue, this.props.showConfig, this.props.name); | 438 | this.props.onFieldDoubleClick(this.props.record, this.state.dataValue, this.props.showConfig, this.props.name); |
| 437 | } else if (commonUtils.isNotEmptyObject(sMemo) && sMemo.indexOf('sAssignField') > -1) { /* 赋值字段 变量设置双击弹出 */ | 439 | } else if (commonUtils.isNotEmptyObject(sMemo) && sMemo.indexOf('sAssignField') > -1) { /* 赋值字段 变量设置双击弹出 */ |