@aochuang/client-sdk 1.0.374 → 1.0.375
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
:data="suggestionsData"
|
|
52
52
|
:confirm-method="handleSuggestionsConfirmMethod"
|
|
53
53
|
@closed="handleSuggestionsClosed"
|
|
54
|
+
@close="handleSuggestionsClose"
|
|
54
55
|
@load-more="handleSuggestionsLoadMore"
|
|
55
56
|
>
|
|
56
57
|
<template slot="item" slot-scope="scope">
|
|
@@ -138,6 +139,12 @@ export default {
|
|
|
138
139
|
this.suggestionsHasMore = false
|
|
139
140
|
this.suggestionsLoadingMore = false
|
|
140
141
|
},
|
|
142
|
+
handleSuggestionsClose () {
|
|
143
|
+
this.closeSuggestions()
|
|
144
|
+
this.suggestionsNearsetInfo = null
|
|
145
|
+
this.suggestionsData = []
|
|
146
|
+
this.suggestionsKeyword = null
|
|
147
|
+
},
|
|
141
148
|
handleSuggestionsConfirmMethod ({ item }) {
|
|
142
149
|
const next = () => {
|
|
143
150
|
if (!this.suggestionsNearsetInfo) {
|