diff --git a/src/routes/Plugin/Common/Rule.js b/src/routes/Plugin/Common/Rule.js index 02f8f8fa8..b854a65af 100644 --- a/src/routes/Plugin/Common/Rule.js +++ b/src/routes/Plugin/Common/Rule.js @@ -1,5 +1,5 @@ import React, { Component } from "react"; -import { Modal, Form, Select, Input, Switch, Button, message } from "antd"; +import { Modal, Form, Select, Input, Switch, Button, message, Tooltip } from "antd"; import { connect } from "dva"; import classnames from "classnames"; import styles from "../index.less"; @@ -364,24 +364,26 @@ class AddModal extends Component { ) } else if (item.dataType === "3" && item.dictOptions) { return ( -
  • {item.label}: - { item.value = value; this.setState({pluginHandleList}) }} - value={item.value || undefined} - style={{ width: 250 }} - > - {item.dictOptions.map(option => { + value={item.value || undefined} + style={{ width: 250 }} + > + {item.dictOptions.map(option => { return ( ); })} - + +
  • ) } else {