From eabd1bed6843c3b359eecf760c1b9ddba62cdec9 Mon Sep 17 00:00:00 2001 From: dengliming Date: Wed, 25 Nov 2020 02:23:27 +0800 Subject: [PATCH] Fix rule plugin handle show style --- src/routes/Plugin/Common/Rule.js | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) 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 {