|  | @@ -25,14 +25,15 @@ export default function useErrorLog() {
 | 
											
												
													
														|  |      // 错误信息
 |  |      // 错误信息
 | 
											
												
													
														|  |      const contentError = `Error message: ${event.target.tagName || ''};${
 |  |      const contentError = `Error message: ${event.target.tagName || ''};${
 | 
											
												
													
														|  |        event.target.src || event.target.href || ''
 |  |        event.target.src || event.target.href || ''
 | 
											
												
													
														|  | -    };lineno: ${event.lineno || ''};message: ${
 |  | 
 | 
											
												
													
														|  | 
 |  | +    };lineno: ${event.lineno || ''};colno: ${event.colno || ''};message: ${
 | 
											
												
													
														|  |        event.message || ''
 |  |        event.message || ''
 | 
											
												
													
														|  |      };filename: ${event.filename || ''};fileUrl: ${
 |  |      };filename: ${event.filename || ''};fileUrl: ${
 | 
											
												
													
														|  |        window.location.href
 |  |        window.location.href
 | 
											
												
													
														|  |      };reason: ${event.reason?.message || ''};
 |  |      };reason: ${event.reason?.message || ''};
 | 
											
												
													
														|  |      stack: ${event.reason?.stack || ''};
 |  |      stack: ${event.reason?.stack || ''};
 | 
											
												
													
														|  |      bizId: ${state.examSongId || query.id || ''};
 |  |      bizId: ${state.examSongId || query.id || ''};
 | 
											
												
													
														|  | -    partIndex: ${query["part-index"] || state.partIndex || 0}`;
 |  | 
 | 
											
												
													
														|  | 
 |  | +    partIndex: ${query["part-index"] || state.partIndex || 0};
 | 
											
												
													
														|  | 
 |  | +    partName: ${decodeURIComponent(query["part-name"] || '') || ''};`;
 | 
											
												
													
														|  |      uploadErrorLog(contentError)
 |  |      uploadErrorLog(contentError)
 | 
											
												
													
														|  |    };
 |  |    };
 | 
											
												
													
														|  |    /**
 |  |    /**
 |