产品-公式编辑器修改
This commit is contained in:
parent
ab161f8528
commit
d4cfca1eda
|
|
@ -339,8 +339,9 @@ export default class FormalFormModal extends React.Component {
|
|||
const title = <div className="formulaTitleWrapper">
|
||||
<div>{`${(this.props.valueType == 2 || this.props.valueType === "FORMULA") ? "函数" : "SQL"}公式`}</div>
|
||||
{
|
||||
value && <Button type="primary" onClick={() => {
|
||||
!_.isEmpty(this.parameters) && <Button type="primary" onClick={() => {
|
||||
const isSaveBool = _.every(this.parameters, it => !!it.id);
|
||||
console.log("parameters", this.parameters);
|
||||
if (isSaveBool) {
|
||||
this.setState({ testVisible: true });
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue