You need to sign in or sign up before continuing.
提交 dbc8a7af 编写于 作者: Q qin_jun_yan

Modify the hyperlink address in English language to the English document...

Modify the hyperlink address in English language to the English document address, modify the width of the input box
上级 3bb78a2e
...@@ -500,7 +500,7 @@ export default { ...@@ -500,7 +500,7 @@ export default {
user-select: none; user-select: none;
} }
.search-input-item { .search-input-item {
width: 261px; width: 290px;
} }
} }
.tooltip-show-content { .tooltip-show-content {
......
...@@ -253,7 +253,7 @@ ...@@ -253,7 +253,7 @@
"desc": "How Do I Use Profiler for Profiling?", "desc": "How Do I Use Profiler for Profiling?",
"anchor": ["desc"], "anchor": ["desc"],
"url": [ "url": [
"https://www.mindspore.cn/tutorial/zh-CN/master/advanced_use/performance_profiling.html" "https://www.mindspore.cn/tutorial/en/master/advanced_use/performance_profiling.html"
] ]
}, },
"step_trace-proposer_type_label": { "step_trace-proposer_type_label": {
......
...@@ -229,7 +229,10 @@ export default { ...@@ -229,7 +229,10 @@ export default {
document.title = this.$t('images.titleText') + '-MindInsight'; document.title = this.$t('images.titleText') + '-MindInsight';
return; return;
} }
document.title = decodeURIComponent(this.$route.query.train_id) +'-' + this.$t('images.titleText') + document.title =
decodeURIComponent(this.$route.query.train_id) +
'-' +
this.$t('images.titleText') +
'-MindInsight'; '-MindInsight';
this.getTagList(); this.getTagList();
// Automatic refresh // Automatic refresh
...@@ -367,9 +370,9 @@ export default { ...@@ -367,9 +370,9 @@ export default {
sampleItem.curImgUrl = sampleItem.curImgUrl =
`${basePath}${this.imageBasePath}train_id=${sampleItem.summaryId}` + `${basePath}${this.imageBasePath}train_id=${sampleItem.summaryId}` +
`&tag=${sampleItem.tagName}&step=${curSampleData.step}&wt=${curSampleData.wall_time}`; `&tag=${sampleItem.tagName}&step=${curSampleData.step}&wt=${curSampleData.wall_time}`;
sampleItem.curTime = this.dealrelativeTime(new Date( sampleItem.curTime = this.dealrelativeTime(
curSampleData.wall_time * 1000, new Date(curSampleData.wall_time * 1000).toString(),
).toString()); );
sampleItem.curImageSize = [ sampleItem.curImageSize = [
curSampleData.width, curSampleData.width,
curSampleData.height, curSampleData.height,
...@@ -407,9 +410,9 @@ export default { ...@@ -407,9 +410,9 @@ export default {
sampleItem.curImgUrl = sampleItem.curImgUrl =
`${basePath}${this.imageBasePath}train_id=${sampleItem.summaryId}` + `${basePath}${this.imageBasePath}train_id=${sampleItem.summaryId}` +
`&tag=${sampleItem.tagName}&step=${curStepData.step}&wt=${curStepData.wall_time}`; `&tag=${sampleItem.tagName}&step=${curStepData.step}&wt=${curStepData.wall_time}`;
sampleItem.curTime = this.dealrelativeTime(new Date( sampleItem.curTime = this.dealrelativeTime(
curStepData.wall_time * 1000, new Date(curStepData.wall_time * 1000).toString(),
).toString()); );
sampleItem.curImageSize = [curStepData.width, curStepData.height]; sampleItem.curImageSize = [curStepData.width, curStepData.height];
}, },
/** /**
...@@ -862,7 +865,7 @@ export default { ...@@ -862,7 +865,7 @@ export default {
} }
} }
.search-input-item { .search-input-item {
width: 261px; width: 290px;
} }
.cl-close-btn { .cl-close-btn {
width: 20px; width: 20px;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册