Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MindSpore
mindinsight
提交
4f95fad8
M
mindinsight
项目概览
MindSpore
/
mindinsight
通知
7
Star
3
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
mindinsight
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
4f95fad8
编写于
8月 20, 2020
作者:
M
mindspore-ci-bot
提交者:
Gitee
8月 20, 2020
浏览文件
操作
浏览文件
下载
差异文件
!544 Caching status replacement Icon
Merge pull request !544 from 王卫宁/wwn
上级
2b151b75
6a3976ed
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
24 addition
and
29 deletion
+24
-29
mindinsight/ui/src/components/multiselectGroup.vue
mindinsight/ui/src/components/multiselectGroup.vue
+10
-6
mindinsight/ui/src/locales/en-us.json
mindinsight/ui/src/locales/en-us.json
+2
-1
mindinsight/ui/src/locales/zh-cn.json
mindinsight/ui/src/locales/zh-cn.json
+2
-1
mindinsight/ui/src/views/train-manage/compare-plate.vue
mindinsight/ui/src/views/train-manage/compare-plate.vue
+10
-21
未找到文件。
mindinsight/ui/src/components/multiselectGroup.vue
浏览文件 @
4f95fad8
...
...
@@ -48,9 +48,11 @@ limitations under the License.
popper-class=
"tooltip-show-content"
:content=
"item.label"
placement=
"top"
>
<span
class=
"select-disable"
><i
title=
"CACHING"
v-if=
"item.loading"
class=
"el-icon-loading"
></i>
{{
item
.
label
}}
</span>
<span
class=
"select-disable"
>
<i
:title=
"$t('components.cache')"
class=
"el-icon-time"
v-if=
"item.checked && (item.loading==='CACHING' || item.loading==='NOT_IN_CACHE')"
></i>
{{
item
.
label
}}
</span>
</el-tooltip>
</span>
</div>
...
...
@@ -80,9 +82,11 @@ limitations under the License.
popper-class=
"tooltip-show-content"
:content=
"item.label"
placement=
"top"
>
<span
class=
"select-disable"
><i
title=
"CACHING"
v-if=
"item.loading"
class=
"el-icon-loading"
></i>
{{
item
.
label
}}
</span>
<span
class=
"select-disable"
>
<i
:title=
"$t('components.cache')"
class=
"el-icon-time"
v-if=
"item.checked && (item.loading==='CACHING' || item.loading==='NOT_IN_CACHE')"
></i>
{{
item
.
label
}}
</span>
</el-tooltip>
</span>
</div>
...
...
mindinsight/ui/src/locales/en-us.json
浏览文件 @
4f95fad8
...
...
@@ -450,7 +450,8 @@
"gridIncorrectDataError"
:
"A maximum of two-dimensionalarrays can be displayed."
,
"gridAccuracy"
:
"Decimal places are reserved."
,
"inCorrectInput"
:
"Invalid input."
,
"gridTableNoData"
:
"No data in the table."
"gridTableNoData"
:
"No data in the table."
,
"cache"
:
"CACHING"
},
"error"
:
{
"50540000"
:
"System error."
,
...
...
mindinsight/ui/src/locales/zh-cn.json
浏览文件 @
4f95fad8
...
...
@@ -449,7 +449,8 @@
"gridIncorrectDataError"
:
"当前只支持最多二维数组的展示"
,
"gridAccuracy"
:
"保留小数位"
,
"inCorrectInput"
:
"无效输入"
,
"gridTableNoData"
:
"表格无数据"
"gridTableNoData"
:
"表格无数据"
,
"cache"
:
"正在加载"
},
"error"
:
{
"50540000"
:
"系统错误"
,
...
...
mindinsight/ui/src/views/train-manage/compare-plate.vue
浏览文件 @
4f95fad8
...
...
@@ -174,7 +174,6 @@ export default {
curBenchX
:
'
stepData
'
,
// Front axle reference
curAxisName
:
this
.
$t
(
'
scalar.step
'
),
// Current chart tip
axisBenchChangeTimer
:
null
,
// Horizontal axis reference switching timing
cacheStatus
:
'
CACHING
'
,
// cache
};
},
computed
:
{
...
...
@@ -321,13 +320,11 @@ export default {
colorIndex
:
colorIndex
,
});
if
(
summaryObj
.
cache_status
===
this
.
cacheStatus
)
{
tempSummaryList
.
forEach
((
item
)
=>
{
if
(
item
.
label
===
summaryObj
.
train_id
)
{
item
.
loading
=
true
;
}
});
}
tempSummaryList
.
forEach
((
item
)
=>
{
if
(
item
.
label
===
summaryObj
.
train_id
)
{
item
.
loading
=
summaryObj
.
cache_status
;
}
});
summaryObj
.
plugins
.
scalar
.
forEach
((
tagObj
)
=>
{
// tag with the same name exists
...
...
@@ -1336,19 +1333,11 @@ export default {
summaryColor
=
this
.
summaryOperateList
[
sameSummaryIndex
].
color
;
}
if
(
summaryObj
.
cache_status
===
this
.
cacheStatus
)
{
this
.
summaryOperateList
.
forEach
((
item
)
=>
{
if
(
item
.
label
===
summaryObj
.
train_id
)
{
item
.
loading
=
true
;
}
});
}
else
{
this
.
summaryOperateList
.
forEach
((
item
)
=>
{
if
(
item
.
label
===
summaryObj
.
train_id
)
{
item
.
loading
=
false
;
}
});
}
this
.
summaryOperateList
.
forEach
((
item
)
=>
{
if
(
item
.
label
===
summaryObj
.
train_id
)
{
item
.
loading
=
summaryObj
.
cache_status
;
}
});
summaryObj
.
plugins
.
scalar
.
forEach
((
tagObj
)
=>
{
let
sameTagIndex
=
-
1
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录