|  | @@ -15,14 +15,16 @@ function AuditModal(props) {
 | 
	
		
			
				|  |  |    };
 | 
	
		
			
				|  |  |    useEffect(() => {
 | 
	
		
			
				|  |  |      if (visible) {
 | 
	
		
			
				|  |  | -      const comment = sheetRef.current.getComment();
 | 
	
		
			
				|  |  | -      console.log(comment);
 | 
	
		
			
				|  |  | -      let str = '';
 | 
	
		
			
				|  |  | -      comment.forEach(item => {
 | 
	
		
			
				|  |  | -        let col = String.fromCharCode(item.c + 65);
 | 
	
		
			
				|  |  | -        str += `单元格${col}${item.r}:${item.value}\n`;
 | 
	
		
			
				|  |  | -      });
 | 
	
		
			
				|  |  | -      form.setFieldsValue({ audit_comment: str });
 | 
	
		
			
				|  |  | +      try {
 | 
	
		
			
				|  |  | +        const comment = sheetRef.current.getComment();
 | 
	
		
			
				|  |  | +        console.log(comment);
 | 
	
		
			
				|  |  | +        let str = '';
 | 
	
		
			
				|  |  | +        comment.forEach(item => {
 | 
	
		
			
				|  |  | +          let col = String.fromCharCode(item.c + 65);
 | 
	
		
			
				|  |  | +          str += `单元格${col}${item.r}:${item.value}\n`;
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +        form.setFieldsValue({ audit_comment: str });
 | 
	
		
			
				|  |  | +      } catch (error) {}
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    }, [visible]);
 | 
	
		
			
				|  |  |  
 |