|  |  |  | @ -3,7 +3,8 @@ import { Input, InputNumber, Form, Button, Checkbox, Upload, Icon, message, Moda | 
			
		
	
		
			
				
					|  |  |  |  | import axios from 'axios' | 
			
		
	
		
			
				
					|  |  |  |  | import '../css/busyWork.css' | 
			
		
	
		
			
				
					|  |  |  |  | import '../css/Courses.css' | 
			
		
	
		
			
				
					|  |  |  |  | import { WordsBtn, getUrl, ConditionToolTip, appendFileSizeToUploadFile, appendFileSizeToUploadFileAll } from 'educoder' | 
			
		
	
		
			
				
					|  |  |  |  | import { WordsBtn, getUrl, ConditionToolTip, appendFileSizeToUploadFile, appendFileSizeToUploadFileAll | 
			
		
	
		
			
				
					|  |  |  |  |     , getUploadActionUrl } from 'educoder' | 
			
		
	
		
			
				
					|  |  |  |  | import TPMMDEditor from '../../tpm/challengesnew/TPMMDEditor'; | 
			
		
	
		
			
				
					|  |  |  |  | import CBreadcrumb from '../common/CBreadcrumb' | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -331,7 +332,7 @@ class NewWork extends Component{ | 
			
		
	
		
			
				
					|  |  |  |  |       // https://github.com/ant-design/ant-design/issues/15505
 | 
			
		
	
		
			
				
					|  |  |  |  |       // showUploadList={false},然后外部拿到 fileList 数组自行渲染列表。
 | 
			
		
	
		
			
				
					|  |  |  |  |       // showUploadList: false,
 | 
			
		
	
		
			
				
					|  |  |  |  |       action: `${getUrl()}/api/attachments.json`, | 
			
		
	
		
			
				
					|  |  |  |  |       action: `${getUploadActionUrl()}`, | 
			
		
	
		
			
				
					|  |  |  |  |       onChange: this.handleContentUploadChange, | 
			
		
	
		
			
				
					|  |  |  |  |       onRemove: (file) => this.onAttachmentRemove(file, 'contentFileList'), | 
			
		
	
		
			
				
					|  |  |  |  |       beforeUpload: (file) => { | 
			
		
	
	
		
			
				
					|  |  |  | 
 |