Browse Source

!824 UI tensor bugfix(fullscreen and block query)

Merge pull request !824 from 夏易凡/1026master
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
ffa7c5afb5
3 changed files with 5 additions and 2 deletions
  1. +1
    -1
      mindinsight/ui/src/components/debuggerGridTableSimple.vue
  2. +1
    -1
      mindinsight/ui/src/components/gridTableSimple.vue
  3. +3
    -0
      mindinsight/ui/src/views/train-manage/tensor.vue

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

@@ -511,7 +511,7 @@ export default {
!!endValue && !!endValue &&
(isNaN(endValue) || (isNaN(endValue) ||
endValue <= -(filter.max + 1) || endValue <= -(filter.max + 1) ||
endValue > filter.max ||
endValue > (filter.max + 1) ||
!Number(endValue)) !Number(endValue))
) { ) {
return false; return false;


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

@@ -412,7 +412,7 @@ export default {
!!endValue && !!endValue &&
(isNaN(endValue) || (isNaN(endValue) ||
endValue <= -(filter.max + 1) || endValue <= -(filter.max + 1) ||
endValue > filter.max ||
endValue > (filter.max + 1) ||
!Number(endValue)) !Number(endValue))
) { ) {
return false; return false;


+ 3
- 0
mindinsight/ui/src/views/train-manage/tensor.vue View File

@@ -348,6 +348,9 @@ export default {
}); });
} }
}); });
if (dataList.length === 1) {
dataList[0].fullScreen = true;
}
this.tagList = tagList; this.tagList = tagList;
this.originDataArr = dataList; this.originDataArr = dataList;
this.$nextTick(() => { this.$nextTick(() => {


Loading…
Cancel
Save