mirror of https://github.com/openspug/spug
				
				
				
			U web update
							parent
							
								
									ca63dcb62e
								
							
						
					
					
						commit
						2b83006f17
					
				| 
						 | 
				
			
			@ -98,6 +98,8 @@ class ComTable extends React.Component {
 | 
			
		|||
        <span>
 | 
			
		||||
        <LinkButton auth="deploy.app.edit" onClick={() => store.showExtForm(record.id, info)}>编辑</LinkButton>
 | 
			
		||||
        <Divider type="vertical"/>
 | 
			
		||||
        <LinkButton auth="deploy.app.edit" onClick={() => store.showExtForm(record.id, info, true)}>克隆配置</LinkButton>
 | 
			
		||||
        <Divider type="vertical"/>
 | 
			
		||||
        <LinkButton auth="deploy.app.edit" onClick={() => this.handleDeployDelete(info)}>删除</LinkButton>
 | 
			
		||||
      </span>
 | 
			
		||||
      )
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -38,7 +38,7 @@ class Store {
 | 
			
		|||
    this.formVisible = true;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  showExtForm = (app_id, info) => {
 | 
			
		||||
  showExtForm = (app_id, info, isClone) => {
 | 
			
		||||
    this.page = 0;
 | 
			
		||||
    this.app_id = app_id;
 | 
			
		||||
    if (info) {
 | 
			
		||||
| 
						 | 
				
			
			@ -47,6 +47,7 @@ class Store {
 | 
			
		|||
      } else {
 | 
			
		||||
        this.ext2Visible = true
 | 
			
		||||
      }
 | 
			
		||||
      isClone && delete info.id;
 | 
			
		||||
      this.deploy = info
 | 
			
		||||
    } else {
 | 
			
		||||
      this.addVisible = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue