|  |  | @ -70,6 +70,7 @@ async function editUser (ctx) { | 
			
		
	
		
			
				
					|  |  |  |             storageData.role = [...new Set([...existUserRes.role, ...role])] | 
			
		
	
		
			
				
					|  |  |  |          } else if (existUserRes.role.includes('admin')) { | 
			
		
	
		
			
				
					|  |  |  |             // 正在修改成员 但是此时还是管理员
 | 
			
		
	
		
			
				
					|  |  |  |             storageData.disabled = true | 
			
		
	
		
			
				
					|  |  |  |             storageData.role = [...role, 'admin'] | 
			
		
	
		
			
				
					|  |  |  |          } | 
			
		
	
		
			
				
					|  |  |  |          await models.User.update(storageData, { | 
			
		
	
	
		
			
				
					|  |  | 
 |