diff --git a/mindinsight/ui/src/assets/images/logo.png b/mindinsight/ui/src/assets/images/logo.png
index 57c8762f5b9564db36da5b1cf5bf064a682e990a..e7d14afdf3833ca7d469aa9fdc7b42d850a2dfe8 100644
Binary files a/mindinsight/ui/src/assets/images/logo.png and b/mindinsight/ui/src/assets/images/logo.png differ
diff --git a/mindinsight/ui/src/components/checkList.vue b/mindinsight/ui/src/components/checkList.vue
new file mode 100644
index 0000000000000000000000000000000000000000..acf7ee50a941e5008215fecc3244588fb73130f5
--- /dev/null
+++ b/mindinsight/ui/src/components/checkList.vue
@@ -0,0 +1,381 @@
+
+
+
+
+
+
{{$t("components.tagSelectTitle")}}
+
+
+
+ {{$t("components.selectAll")}}
+
+
+
+
+
+
+
+
+
+ {{item.label}}
+
+
+
+
+
+
{{$t("components.open")}}
+
{{$t("components.close")}}
+
+
+
+
+
+
+ {{item.label}}
+
+
+
+
+
+
+
+
+
diff --git a/mindinsight/ui/src/locales/zh-cn.json b/mindinsight/ui/src/locales/zh-cn.json
index d1c07f774c0ef2e294a132972c969fa5536d06ca..de62a4bcdb61f527e7bcc84d8339238143ebf80c 100644
--- a/mindinsight/ui/src/locales/zh-cn.json
+++ b/mindinsight/ui/src/locales/zh-cn.json
@@ -124,6 +124,13 @@
"tooManyNodes": "节点太多,打开失败",
"inputNodeName": "请输入节点名称"
},
+ "components": {
+ "tagSelectTitle": "标签选择",
+ "selectAll": "全选",
+ "tagFilterPlaceHolder": "请输入需要的标签(支持正则表达式)",
+ "open": "展开",
+ "close": "折叠"
+ },
"error": {
"50540000": "系统错误",
"50540001": "参数类型错误,请检查请求参数类型是否都符合要求",
@@ -133,7 +140,6 @@
"50545001": "API 路由资源不存在",
"50545002": "请求API的HTTP方法错误",
"50545005": "训练作业不存在",
- "50545006": "Summary日志路径无效",
"50545007": "Summary数据正在被加载,请等待Summary数据加载结束",
"50545009": "查询的节点不在图中",
"5054500A": "训练作业ID进行URL解码失败",
diff --git a/mindinsight/ui/src/main.js b/mindinsight/ui/src/main.js
index 3c83a48c0eef5227fdee5ba27eaac8895133ee18..af966c40054aef8ba47db520b10e862609bda34e 100644
--- a/mindinsight/ui/src/main.js
+++ b/mindinsight/ui/src/main.js
@@ -42,21 +42,6 @@ router.beforeEach((to, from, next) => {
// forbidden showing production tip
Vue.config.productionTip = false;
-/**
- * Check whether the input string contains special characters
- * @param {String} strurl
- * @return {Boolen}
- */
-function justSql(strurl) {
- const reA = /select|create|alert|update|delete|truncate/i;
- const reB = /join|union|exec|insert|drop|count|'|"|;|>| {
- new Vue({
- router,
- store,
- i18n,
- render: (h) => h(App),
- }).$mount('#app');
- }, 100);
+ if (isBrowserSupport()) {
+ Vue.prototype.$warmBrowser = true;
}
+ // Instantiation
+ setTimeout(() => {
+ new Vue({
+ router,
+ store,
+ i18n,
+ render: (h) => h(App),
+ }).$mount('#app');
+ }, 100);
};
diff --git a/mindinsight/ui/src/services/fetcher.js b/mindinsight/ui/src/services/fetcher.js
index ae095f764e1ac77e2fc69082bea4534353a61745..e5569cf6e11648d02e7b3fe4e9736de5a7083c6a 100644
--- a/mindinsight/ui/src/services/fetcher.js
+++ b/mindinsight/ui/src/services/fetcher.js
@@ -50,7 +50,7 @@ axios.interceptors.response.use(
// error returned by backend
if (error.response && error.response.data && error.response.data.error_code) {
- if (error.response.data.error_code.toString() === '50540005' ||
+ if (error.response.data.error_code.toString() === '50545005' ||
error.response.data.error_code.toString() === '50545006') {
if (error.config.headers.ignoreError ||
router.currentRoute.path === '/train-manage/training-dashboard') {
diff --git a/mindinsight/ui/src/views/train-manage/graph.vue b/mindinsight/ui/src/views/train-manage/graph.vue
index 5356ab00c9118051c4cdab79eb7f841af11831aa..fb26a9500cba9cb15b33c831f9e7573eab9198af 100644
--- a/mindinsight/ui/src/views/train-manage/graph.vue
+++ b/mindinsight/ui/src/views/train-manage/graph.vue
@@ -850,6 +850,7 @@ export default {
}
})
.catch(() => {
+ this.fileSearchBox.suggestions = [];
this.initOver = true;
this.loading.show = false;
});
diff --git a/mindinsight/ui/src/views/train-manage/image.vue b/mindinsight/ui/src/views/train-manage/image.vue
index 1b6725f51f6aee7e9e15033748c14a6998ce827c..402955ce11ab02a9d7b0bf5e66e49143215373d7 100644
--- a/mindinsight/ui/src/views/train-manage/image.vue
+++ b/mindinsight/ui/src/views/train-manage/image.vue
@@ -28,72 +28,9 @@ limitations under the License.
-
-
-
{{$t("images.tagSelectTitle")}}
-
-
-
- {{$t('images.selectAll')}}
-
-
-
-
-
-
-
-
-
- {{tagItem.label}}
-
-
-
-
-
-
{{$t("images.open")}}
-
{{$t("images.close")}}
-
-
-
-
-
-
- {{tagItem.label}}
-
-
-
-
+
@@ -117,8 +54,7 @@ limitations under the License.
:class="contrast===50?'button-disable':'' ">{{$t('public.reset')}}
-
+
@@ -151,8 +87,8 @@ limitations under the License.
{{sampleItem.tagName}}
-
{{sampleItem.runName}}
+
{{sampleItem.summaryName}}