首页修改
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const debug = true // true 是连地服务端本地,false 是连接线上
|
||||
const debug = false // true 是连地服务端本地,false 是连接线上
|
||||
|
||||
const development = {
|
||||
domain: 'http://192.168.1.115:10215',
|
||||
|
||||
@@ -30,6 +30,10 @@ export default {
|
||||
pageNum: 1,
|
||||
pageSize: 20,
|
||||
},
|
||||
timer:null,
|
||||
callBack: null,
|
||||
firstCallBack: null,
|
||||
loadedCallback: null,
|
||||
reload() {
|
||||
this.data = []
|
||||
this.status = 'loading'
|
||||
@@ -37,9 +41,13 @@ export default {
|
||||
this.params.pageNum = 1
|
||||
this.next()
|
||||
},
|
||||
callBack: null,
|
||||
firstCallBack: null,
|
||||
loadedCallback: null,
|
||||
search() {
|
||||
// 节流搜索
|
||||
clearTimeout(this.timer)
|
||||
this.timer = setTimeout(() => {
|
||||
this.reload()
|
||||
}, 300)
|
||||
},
|
||||
next() {
|
||||
me.$request({
|
||||
url: url,
|
||||
|
||||
Reference in New Issue
Block a user