Commit fb415738 by 杨北旺

fix:修复查询监听问题

1 parent 668fdeb2
......@@ -153,7 +153,7 @@ const actions = {
},
registerHttp({}, sessionId = '') {
window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: sessionId } })
// window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: 'mini-025daaf5-bf2a-4fb3-8232-ed1bc31304d3-rop' } })
// window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: '342ecba1-ab1a-41e6-88c3-76797915df27' } })
}
}
const getParams = name => {
......
......@@ -158,8 +158,6 @@ export default {
delete this.paramForm.queryText
}
this.initData()
this.getServicesList()
this.getOrderCount(e)
},
toIconSearch(e){
this.search(e)
......@@ -172,7 +170,6 @@ export default {
delete this.paramForm.dataPerfection
}
this.initData()
this.getServicesList()
},
initData(){
this.serviceList = []
......@@ -180,6 +177,9 @@ export default {
this.loading = false
this.finished = false
this.paramForm.pageNum = 1
this.getServicesList()
this.getOrderCount(e)
},
onLoad() {
if (this.serviceList.length != 0 && this.serviceList.length % this.paramForm.pageSize == 0) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!