|  | @@ -100,17 +100,18 @@ const submitForm = () => {
 | 
	
		
			
				|  |  |          srvId:props.ruleForm.gId
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |      playerApi.editPlayerInfo(data).then((resp) => {
 | 
	
		
			
				|  |  | -        let result = resp.data.result + "";
 | 
	
		
			
				|  |  | +        let result = resp.data.result;
 | 
	
		
			
				|  |  |          let jsonData = JSON.parse(result);
 | 
	
		
			
				|  |  | +        
 | 
	
		
			
				|  |  |          if (jsonData.msg === '修改角色信息失败' || jsonData.msg === '参数错误') {
 | 
	
		
			
				|  |  |              ElMessage({
 | 
	
		
			
				|  |  | -                message: jsonData.msg + "",
 | 
	
		
			
				|  |  | +                message: jsonData.msg,
 | 
	
		
			
				|  |  |                  type: 'error',
 | 
	
		
			
				|  |  |                  duration: 3000
 | 
	
		
			
				|  |  |              });
 | 
	
		
			
				|  |  |          } else {
 | 
	
		
			
				|  |  |              ElMessage({
 | 
	
		
			
				|  |  | -                message: jsonData.msg + "",
 | 
	
		
			
				|  |  | +                message: jsonData.msg,
 | 
	
		
			
				|  |  |                  type: 'success',
 | 
	
		
			
				|  |  |                  duration: 3000
 | 
	
		
			
				|  |  |              });
 |