Browse Source

Modify the hyperlink address in English language to the English document address, modify the width of the input box

tags/0.7.0-beta
qin_jun_yan 5 years ago
parent
commit
dbc8a7af96
3 changed files with 15 additions and 12 deletions
  1. +1
    -1
      mindinsight/ui/src/components/multiselectGroup.vue
  2. +1
    -1
      mindinsight/ui/src/locales/en-us.json
  3. +13
    -10
      mindinsight/ui/src/views/train-manage/image.vue

+ 1
- 1
mindinsight/ui/src/components/multiselectGroup.vue View File

@@ -500,7 +500,7 @@ export default {
user-select: none;
}
.search-input-item {
width: 261px;
width: 290px;
}
}
.tooltip-show-content {


+ 1
- 1
mindinsight/ui/src/locales/en-us.json View File

@@ -253,7 +253,7 @@
"desc": "How Do I Use Profiler for Profiling?",
"anchor": ["desc"],
"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": {


+ 13
- 10
mindinsight/ui/src/views/train-manage/image.vue View File

@@ -29,8 +29,8 @@ limitations under the License.
<!-- Selecting an operation area -->
<div class="cl-img-operate-content">
<multiselectGroupComponents ref="multiselectGroupComponents"
:checkListArr="tagOperateList"
@selectedChange="tagSelectedChanged"></multiselectGroupComponents>
:checkListArr="tagOperateList"
@selectedChange="tagSelectedChanged"></multiselectGroupComponents>
</div>
<!-- Sliding block area -->
<div class="cl-img-slider-operate-content">
@@ -229,7 +229,10 @@ export default {
document.title = this.$t('images.titleText') + '-MindInsight';
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';
this.getTagList();
// Automatic refresh
@@ -367,9 +370,9 @@ export default {
sampleItem.curImgUrl =
`${basePath}${this.imageBasePath}train_id=${sampleItem.summaryId}` +
`&tag=${sampleItem.tagName}&step=${curSampleData.step}&wt=${curSampleData.wall_time}`;
sampleItem.curTime = this.dealrelativeTime(new Date(
curSampleData.wall_time * 1000,
).toString());
sampleItem.curTime = this.dealrelativeTime(
new Date(curSampleData.wall_time * 1000).toString(),
);
sampleItem.curImageSize = [
curSampleData.width,
curSampleData.height,
@@ -407,9 +410,9 @@ export default {
sampleItem.curImgUrl =
`${basePath}${this.imageBasePath}train_id=${sampleItem.summaryId}` +
`&tag=${sampleItem.tagName}&step=${curStepData.step}&wt=${curStepData.wall_time}`;
sampleItem.curTime = this.dealrelativeTime(new Date(
curStepData.wall_time * 1000,
).toString());
sampleItem.curTime = this.dealrelativeTime(
new Date(curStepData.wall_time * 1000).toString(),
);
sampleItem.curImageSize = [curStepData.width, curStepData.height];
},
/**
@@ -862,7 +865,7 @@ export default {
}
}
.search-input-item {
width: 261px;
width: 290px;
}
.cl-close-btn {
width: 20px;


Loading…
Cancel
Save