apply-clients 7.1.36-yuchuan-20 → 7.1.36-yuchuan-21
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.
package/package.json
CHANGED
|
@@ -99,7 +99,7 @@ export default {
|
|
|
99
99
|
})
|
|
100
100
|
//搜索成功
|
|
101
101
|
if (AMap.Event){
|
|
102
|
-
|
|
102
|
+
AMap.Event.addListener(this.placeSearch, 'complete', (e)=>{
|
|
103
103
|
this.pagenumber = this.pagenumber + 1 // 每次查询成功都会给当前页+1 也就是下次查询页
|
|
104
104
|
this.pageCount=e.poiList.count;//赋值查询后的总页数
|
|
105
105
|
// 抛出的值组装
|
|
@@ -108,7 +108,7 @@ export default {
|
|
|
108
108
|
this.$emit('retsuccess',res); // 搜索成功事件
|
|
109
109
|
})
|
|
110
110
|
} else {
|
|
111
|
-
|
|
111
|
+
AMap.event.addListenerOnce(this.placeSearch, 'complete', (e)=>{
|
|
112
112
|
this.pagenumber = this.pagenumber + 1 // 每次查询成功都会给当前页+1 也就是下次查询页
|
|
113
113
|
this.pageCount=e.poiList.count;//赋值查询后的总页数
|
|
114
114
|
// 抛出的值组装
|