罗世杰:fixed:修复各个使用下拉框处异常请求问题
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
</view>
|
||||
<view class="marginLR10">
|
||||
<DropDown @getQueryInfo="getShopList"></DropDown>
|
||||
<DropDown @getQueryInfo="getShopList" ref="dropdown" @cancelPageNum="cancelPageNum"></DropDown>
|
||||
</view>
|
||||
<view class="marginLR10">
|
||||
<SearchShopList :showStyle="1" :searchInfoList="searchInfoList" />
|
||||
@@ -52,6 +52,7 @@
|
||||
// this.pageNum=1
|
||||
// }
|
||||
this.getShopList(q, "refresh")
|
||||
this.$refs.dropdown.resetInfo()
|
||||
|
||||
// }
|
||||
},
|
||||
@@ -133,6 +134,10 @@
|
||||
...query
|
||||
})
|
||||
return q
|
||||
},
|
||||
cancelPageNum() {
|
||||
this.pageNum = 1;
|
||||
this.refresh = true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user