From 20eba7b29bc070b682ac98786453cc48786b0d76 Mon Sep 17 00:00:00 2001 From: wanglin2 <1013335014@qq.com> Date: Sat, 29 Jul 2023 14:24:50 +0800 Subject: [PATCH] =?UTF-8?q?Demo:=E4=BF=AE=E5=A4=8D=E5=9C=A8=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=A1=86=E5=9B=9E=E8=BD=A6=E5=90=8E=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=A1=86=E7=84=A6=E7=82=B9=E4=B8=A2=E5=A4=B1=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pages/Edit/components/Search.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/pages/Edit/components/Search.vue b/web/src/pages/Edit/components/Search.vue index 1b5ada1d..58c7afeb 100644 --- a/web/src/pages/Edit/components/Search.vue +++ b/web/src/pages/Edit/components/Search.vue @@ -102,7 +102,7 @@ export default { showSearch() { this.$bus.$emit('closeSideBar') this.show = true - // this.$refs.input.focus() + // this.$refs.searchInputRef.focus() }, hideReplaceInput() { @@ -112,7 +112,7 @@ export default { onSearchNext() { this.mindMap.search.search(this.searchText, () => { - this.$refs.input.focus() + this.$refs.searchInputRef.focus() }) },