|
|
@@ -666,10 +666,10 @@ export default {
|
|
|
if (hasSubmissionTool.length > 0) {
|
|
|
let pageid = hasSubmissionTool[0].id;
|
|
|
const match = hasSubmissionTool[0].url.match(/[?&]id=([^&]+)/)
|
|
|
- let id = match[1];
|
|
|
+ let id = match && match[1] || '';
|
|
|
let content = '';
|
|
|
let analysis = '';
|
|
|
- if(hasSubmissionTool[0].toolType == 72){
|
|
|
+ if(hasSubmissionTool[0].toolType == 72 || hasSubmissionTool[0].toolType == 73){
|
|
|
id = hasSubmissionTool[0].id;
|
|
|
}else {
|
|
|
let work = await this.getWork(id);
|