From 802e9e76bca74f5cb48e5148f4825674f802641d Mon Sep 17 00:00:00 2001 From: ph Date: Fri, 29 May 2020 17:19:38 +0800 Subject: [PATCH] add clearable --- mindinsight/ui/src/views/train-manage/profiler.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mindinsight/ui/src/views/train-manage/profiler.vue b/mindinsight/ui/src/views/train-manage/profiler.vue index c427fc9..be75932 100644 --- a/mindinsight/ui/src/views/train-manage/profiler.vue +++ b/mindinsight/ui/src/views/train-manage/profiler.vue @@ -63,11 +63,15 @@ v-if="statisticType === 0" suffix-icon="el-icon-search" :placeholder="$t('profiler.searchByType')" + clearable + @clear="searchOpCoreList()" @keyup.enter.native="searchOpCoreList()"> @@ -170,6 +174,8 @@