From fc0c102554f509989dd74b199f298a67f266c3c8 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Fri, 25 Feb 2022 12:11:27 +0800
Subject: [PATCH] 虫洞添加,统计代码添加,样式局部调整

---
 src/components/mini/box7-search.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/components/mini/box7-search.vue b/src/components/mini/box7-search.vue
index 2747537..9c06d0f 100644
--- a/src/components/mini/box7-search.vue
+++ b/src/components/mini/box7-search.vue
@@ -6,7 +6,7 @@
 				<hr>
 				<div>
 					<a-auto-complete v-bind="search" @select="onSelect" @search="onSearch" @change="onChange">
-						<a-input>
+						<a-input @pressEnter="onSelect">
 							<a-icon slot="suffix" type="search" class="certain-category-icon" />
 						</a-input>
 					</a-auto-complete>
@@ -30,9 +30,9 @@
 				sentence: "十里寒塘路,烟花一半醒",
 				search: {
 					placeholder: "搜索..",
-					allowClear: true,
 					// autoFocus: true,
 					backfill: true,
+					value: '',
 					dataSource: [],
 				},
 			}
@@ -43,6 +43,7 @@
 				console.log("补全..");
 			},
 			onSelect(value) {
+				this.$message.info("更多功能..敬请期待")
 				console.log('回车', value);
 			},
 			onChange(value) {

--
Gitblit v1.9.1