mirror of https://github.com/openspug/spug
				
				
				
			U 改进任务执行测试提示信息
							parent
							
								
									4798c7260b
								
							
						
					
					
						commit
						0a67a2991f
					
				| 
						 | 
				
			
			@ -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';
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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))
 | 
			
		||||
    })
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue