From 07b4ab176e8fb04643298cda66187d56e905f13d Mon Sep 17 00:00:00 2001 From: xiayifan Date: Thu, 28 Jan 2021 16:28:45 +0800 Subject: [PATCH] UI hoc bugfix 1.fixed an issue where the image title is incomplete 2.fixen an issue where the button misalignment in explain-list --- mindinsight/ui/src/components/search-select.vue | 1 + .../ui/src/views/explain/conterfactual-interpretation.vue | 2 +- mindinsight/ui/src/views/explain/summary-list.vue | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mindinsight/ui/src/components/search-select.vue b/mindinsight/ui/src/components/search-select.vue index 12ae62ab..19a7c281 100644 --- a/mindinsight/ui/src/components/search-select.vue +++ b/mindinsight/ui/src/components/search-select.vue @@ -315,6 +315,7 @@ export default { * The logic of deselect option when multiple is true * @param {Object} option * @param {Number} index + * @return {Promise} */ mulDeselectOption(option, index) { return new Promise((resolve) => { diff --git a/mindinsight/ui/src/views/explain/conterfactual-interpretation.vue b/mindinsight/ui/src/views/explain/conterfactual-interpretation.vue index 26baef08..436823fd 100644 --- a/mindinsight/ui/src/views/explain/conterfactual-interpretation.vue +++ b/mindinsight/ui/src/views/explain/conterfactual-interpretation.vue @@ -764,7 +764,6 @@ export default { .cl-hoc .cl-hoc-con .cl-hoc-right .cl-right-con { height: calc(100% - 63px); position: relative; - overflow: hidden; } .cl-hoc .cl-hoc-con .cl-hoc-right .cl-right-con .img-container { height: calc(100% - 28px); @@ -778,6 +777,7 @@ export default { width: 100%; margin-top: 12px; text-align: center; + line-height: 16px; } .cl-hoc .cl-hoc-con .cl-hoc-right .cl-right-footer { height: calc(40% - 20px); diff --git a/mindinsight/ui/src/views/explain/summary-list.vue b/mindinsight/ui/src/views/explain/summary-list.vue index af11b847..cf684880 100644 --- a/mindinsight/ui/src/views/explain/summary-list.vue +++ b/mindinsight/ui/src/views/explain/summary-list.vue @@ -71,7 +71,7 @@ limitations under the License. @click.stop="goToSaliencyMap(scope.row)" v-if="scope.row.saliency_map"> {{$t('explain.title')}} - {{$t('explain.title')}}