Merge pull request !827 from 夏易凡/1026mastertags/v1.1.0
| @@ -257,6 +257,7 @@ export default { | |||||
| return { | return { | ||||
| type: 'polyline', | type: 'polyline', | ||||
| z2: params.dataIndex, | |||||
| silent: true, | silent: true, | ||||
| shape: { | shape: { | ||||
| points, | points, | ||||
| @@ -1133,6 +1133,7 @@ export default { | |||||
| return { | return { | ||||
| type: 'polyline', | type: 'polyline', | ||||
| z2: params.dataIndex, | |||||
| silent: true, | silent: true, | ||||
| shape: { | shape: { | ||||
| points, | points, | ||||
| @@ -388,7 +388,9 @@ export default { | |||||
| sampleItem.showErrMsg = false; | sampleItem.showErrMsg = false; | ||||
| sampleItem.curImgUrl = | sampleItem.curImgUrl = | ||||
| `${basePath}${this.imageBasePath}train_id=${sampleItem.summaryId}` + | `${basePath}${this.imageBasePath}train_id=${sampleItem.summaryId}` + | ||||
| `&tag=${sampleItem.tagName}&step=${params.step}&wt=${params.wt}`; | |||||
| `&tag=${encodeURIComponent(sampleItem.tagName)}&step=${ | |||||
| params.step | |||||
| }&wt=${params.wt}`; | |||||
| }, | }, | ||||
| (e) => { | (e) => { | ||||
| if (e.response && e.response.data && e.response.data.error_code) { | if (e.response && e.response.data && e.response.data.error_code) { | ||||
| @@ -399,7 +401,9 @@ export default { | |||||
| sampleItem.showErrMsg = false; | sampleItem.showErrMsg = false; | ||||
| sampleItem.curImgUrl = | sampleItem.curImgUrl = | ||||
| `${basePath}${this.imageBasePath}train_id=${sampleItem.summaryId}` + | `${basePath}${this.imageBasePath}train_id=${sampleItem.summaryId}` + | ||||
| `&tag=${sampleItem.tagName}&step=${params.step}&wt=${params.wt}`; | |||||
| `&tag=${encodeURIComponent(sampleItem.tagName)}&step=${ | |||||
| params.step | |||||
| }&wt=${params.wt}`; | |||||
| } | } | ||||
| }, | }, | ||||
| ); | ); | ||||
| @@ -1308,6 +1308,7 @@ export default { | |||||
| return { | return { | ||||
| type: 'polyline', | type: 'polyline', | ||||
| z2: params.dataIndex, | |||||
| silent: true, | silent: true, | ||||
| shape: { | shape: { | ||||
| points, | points, | ||||
| @@ -1514,7 +1515,9 @@ export default { | |||||
| sampleItem.sampleData[sampleIndex].wall_time; | sampleItem.sampleData[sampleIndex].wall_time; | ||||
| sampleItem.curImgUrl = | sampleItem.curImgUrl = | ||||
| `${basePath}${this.imageBasePath}` + | `${basePath}${this.imageBasePath}` + | ||||
| `train_id=${sampleItem.runId}&tag=${sampleItem.tagName}` + | |||||
| `train_id=${sampleItem.runId}&tag=${encodeURIComponent( | |||||
| sampleItem.tagName, | |||||
| )}` + | |||||
| `&step=-1&wt=${sampleWallTime}`; | `&step=-1&wt=${sampleWallTime}`; | ||||
| } else { | } else { | ||||
| this.curImageShowSample = {}; | this.curImageShowSample = {}; | ||||