mirror of https://github.com/certd/certd
				
				
				
			refactor: cancel tip
							parent
							
								
									dceb33006a
								
							
						
					
					
						commit
						6a3955a1d6
					
				| 
						 | 
					@ -61,12 +61,13 @@ export default defineComponent({
 | 
				
			||||||
        cancelText: "取消",
 | 
					        cancelText: "取消",
 | 
				
			||||||
        onOk: async () => {
 | 
					        onOk: async () => {
 | 
				
			||||||
          await api.Cancel(props.runnable.id);
 | 
					          await api.Cancel(props.runnable.id);
 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      });
 | 
					 | 
				
			||||||
          notification.success({
 | 
					          notification.success({
 | 
				
			||||||
            message: "任务取消成功"
 | 
					            message: "任务取消成功"
 | 
				
			||||||
          });
 | 
					          });
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					      });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
    return {
 | 
					    return {
 | 
				
			||||||
      status,
 | 
					      status,
 | 
				
			||||||
      cancel,
 | 
					      cancel,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue