mirror of
				https://github.com/songquanpeng/one-api.git
				synced 2025-11-04 15:53:42 +08:00 
			
		
		
		
	fix: channel edit settings key error (#1496)
This commit is contained in:
		@@ -163,7 +163,7 @@ const EditModal = ({ open, channelId, onCancel, onOk }) => {
 | 
				
			|||||||
      values.other = 'v2.1';
 | 
					      values.other = 'v2.1';
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    if (values.key === '') {
 | 
					    if (values.key === '') {
 | 
				
			||||||
      if (values.config.ak !== '' && values.config.sk !== '' && values.config.region !== '') {
 | 
					      if (values.config.ak && values.config.sk && values.config.region) {
 | 
				
			||||||
        values.key = `${values.config.ak}|${values.config.sk}|${values.config.region}`;
 | 
					        values.key = `${values.config.ak}|${values.config.sk}|${values.config.region}`;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user