Browse Source

Model list type prompt modification

tags/v1.0.0
qin_jun_yan 5 years ago
parent
commit
250ab1bacf
3 changed files with 7 additions and 1 deletions
  1. +1
    -0
      mindinsight/ui/src/locales/en-us.json
  2. +1
    -0
      mindinsight/ui/src/locales/zh-cn.json
  3. +5
    -1
      mindinsight/ui/src/views/train-manage/model-traceback.vue

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

@@ -102,6 +102,7 @@
"metric": "Metrics",
"deviceNum": "Devices",
"mixedItemMessage": "This parameter contains multiple types of data and cannot be filtered.",
"notSupportSelected": "Filtering is not supported for this parameter type.",
"displayColumn": "Displayed columns",
"hide": "Hide Record",
"unhide": "Unhide Record",


+ 1
- 0
mindinsight/ui/src/locales/zh-cn.json View File

@@ -102,6 +102,7 @@
"metric": "度量指标",
"deviceNum": "device数目",
"mixedItemMessage": "该参数含有多种类型数据,无法筛选展示",
"notSupportSelected": "该参数类型暂不支持筛选",
"displayColumn": "请选择展示列",
"hide": "隐藏记录",
"unhide": "取消隐藏",


+ 5
- 1
mindinsight/ui/src/views/train-manage/model-traceback.vue View File

@@ -1979,7 +1979,11 @@ export default {
this.keysOfMixed.length &&
this.keysOfMixed.includes(key)||this.keysOfListType.includes(key)
) {
this.$message.error(this.$t('modelTraceback.mixedItemMessage'));
if (this.keysOfListType.includes(key)) {
this.$message.error(this.$t('modelTraceback.notSupportSelected'));
} else {
this.$message.error(this.$t('modelTraceback.mixedItemMessage'));
}
this.$nextTick(() => {
this.initChart();
});


Loading…
Cancel
Save