U 改进任务执行测试提示信息

pull/137/head
vapao 2020-06-19 16:42:59 +08:00
parent 4798c7260b
commit 0a67a2991f
2 changed files with 1 additions and 2 deletions

View File

@ -6,7 +6,6 @@
import React from 'react';
import { observer } from 'mobx-react';
import { Form, Input, Select, Button, Icon, message } from "antd";
import { isSubArray } from 'libs';
import store from './store';
import hostStore from 'pages/host/store';
import styles from './index.module.css';

View File

@ -120,7 +120,7 @@ class ComTable extends React.Component {
handleTest = (text) => {
Modal.confirm({
title: '操作确认',
content: '立即执行该任务(不影响调度规则',
content: '立即执行该任务(不影响调度规则,且不会触发失败通知',
onOk: () => http.post(`/api/schedule/${text.id}/`)
.then(res => store.showInfo(text, res))
})