diff --git a/mindinsight/ui/public/index.html b/mindinsight/ui/public/index.html index d1bd5713..0a7a7895 100644 --- a/mindinsight/ui/public/index.html +++ b/mindinsight/ui/public/index.html @@ -21,7 +21,7 @@ limitations under the License. - + MindInsight ', + dataMapDownloadStyle: '', }; diff --git a/mindinsight/ui/src/components/multiselectGroup.vue b/mindinsight/ui/src/components/multiselectGroup.vue index acf7ee50..14de9da2 100644 --- a/mindinsight/ui/src/components/multiselectGroup.vue +++ b/mindinsight/ui/src/components/multiselectGroup.vue @@ -99,6 +99,7 @@ export default { multiSelectedItemNames: {}, // Dictionary for storing the name of the selected tags. operateSelectAll: true, // Indicates whether to select all tags. perSelectItemMarginBottom: 1, // Outer margin of the bottom of each selection box. + searching: false, }; }, computed: {}, @@ -156,11 +157,13 @@ export default { * Tag Filter */ listFilter() { + this.searching = true; if (this.searchInputTimer) { clearTimeout(this.searchInputTimer); this.searchInputTimer = null; } this.searchInputTimer = setTimeout(() => { + this.searching = false; let reg; try { reg = new RegExp(this.searchInput); @@ -234,6 +237,9 @@ export default { * @return {Object} Dictionary containing selected tags */ updateSelectedDic() { + if (this.searching) { + return this.multiSelectedItemNames; + } let reg; try { reg = new RegExp(this.searchInput); diff --git a/mindinsight/ui/src/views/train-manage/data-map.vue b/mindinsight/ui/src/views/train-manage/data-map.vue index d3b1ad58..c8c09382 100644 --- a/mindinsight/ui/src/views/train-manage/data-map.vue +++ b/mindinsight/ui/src/views/train-manage/data-map.vue @@ -49,6 +49,9 @@ limitations under the License.
+