We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d85593d commit e2d8663Copy full SHA for e2d8663
src/pages/alert/rule/create.jsx
@@ -42,6 +42,7 @@ import ESImg from "./img/ElasticSearch.svg"
42
import {PrometheusPromQL} from "../../promethues";
43
import {getKubernetesReasonList, getKubernetesResourceList} from "../../../api/kubernetes";
44
import { useRule } from '../../../context/RuleContext';
45
+import TextArea from "antd/es/input/TextArea";
46
47
const format = 'HH:mm';
48
const MyFormItemContext = React.createContext([])
@@ -1041,7 +1042,7 @@ export const AlertRule = ({ type }) => {
1041
1042
required: true,
1043
},
1044
]}>
- <Input/>
1045
+ <TextArea rows={2} placeholder="输入告警事件的详细消息内容,如:服务器: ${instanace},发生故障请紧急排查!" maxLength={10000} />
1046
</MyFormItem>
1047
</div>
1048
0 commit comments