Commit efe3bd7c authored by xinzhedeai's avatar xinzhedeai

fix:分页问题处理

parent edd150c0
......@@ -56,6 +56,8 @@ window.addEventListener("load", function () {
this.size = 6
this.total = 0
this.hazardList = []
this.loading = false
this.finished = false
},
getList(){
// 这里添加获取数据的逻辑
......
......@@ -42,6 +42,8 @@ window.addEventListener('load', function () {
this.size = 10
this.total = 0
this.hazardList = []
this.loading = false
this.finished = false
},
onSearch() {
console.log('xxxx', this.merName)
......
......@@ -132,6 +132,8 @@ window.addEventListener("load", function() {
this.size = 10
this.total = 0
this.hazardList = []
this.loading = false
this.finished = false
},
clickTab() {
this.init()
......
......@@ -41,6 +41,8 @@ window.addEventListener('load', function () {
this.size = 10
this.total = 0
this.hazardList = []
this.loading = false
this.finished = false
},
onSearch() {
console.log('xxxx', this.merName)
......
......@@ -98,6 +98,8 @@ window.addEventListener('load', function () {
this.size = 9999
this.total = 0
this.consumerSuggestList = []
this.loading = false
this.finished = false
},
showImage(list, index) {
......
......@@ -76,6 +76,9 @@ window.addEventListener("load", function() {
this.size = 10
this.total = 0
this.hazardList = []
this.loading = false
this.finished = false
},
onSearch() {
console.log('xxxx', this.title)
......
......@@ -120,6 +120,9 @@ window.addEventListener('load', function () {
this.page = 1
this.size = 6
this.total = 0
this.loading = false
this.finished = false
this.hazardList = []
},
yhstatus() { // tab值对应的隐患状态码装欢
......
......@@ -83,7 +83,7 @@ window.addEventListener('load', function () {
setTimeout(() => {
this.$nextTick(() => {
vant.Toast.clear()
})
})
}, 0)
this.$nextTick(() => {
// 滚动条跳转位置
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment