yuanyuan 3 years ago
parent
commit
8b353600db
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/product/MetaDomain.vue

+ 2 - 2
src/views/product/MetaDomain.vue

@@ -33,7 +33,7 @@
                         >
                         </van-tab>
                     </van-tabs> -->
-                    <van-field v-model="value" :clearable="false" enterkeyhint="search"
+                    <van-field v-model="value" :clearable="false" enterkeyhint="search" ref="fieldRef"
                         :left-icon="require('@assets/icon_sosuo@3x.png')" placeholder="搜索该类目下的元域名" extra @keyup="onInput">
                         <template #extra>
                             <div class="flex_text">.nft</div>
@@ -217,8 +217,8 @@ export default {
 				this.$nextTick(() => {
 					this.getSearch();
 				});
+				this.$refs.fieldRef.blur();
 			}
-			console.log(e);
 		},
 		priceOrder() {
 			this.source = !this.source;