修改一些bug

This commit is contained in:
zouzhibing
2022-03-18 18:02:17 +08:00
parent 7ef4367ea1
commit 9e0250a672
14 changed files with 81 additions and 73 deletions

View File

@@ -476,6 +476,7 @@ var that = null;var _default = { components: {}, data: function data() {return {
data1: [],
flag1: true,
num: 0,
isShowLoadMore: true };
},
@@ -492,7 +493,11 @@ var that = null;var _default = { components: {}, data: function data() {return {
// },3000)
},
methods: {
pullUpLoading: function pullUpLoading(done) {var _this = this;
if (!this.flag1) {
return;
}
setTimeout(function () {
_this.data.push({
date: '2011-05-02',
@@ -506,7 +511,14 @@ var that = null;var _default = { components: {}, data: function data() {return {
address: '上海市普',
zip: 200333 });
done('ok');
_this.num++;
if (_this.num === 3) {
done('ok');
_this.flag1 = false;
} else {
done();
}
}, 3000);
},
buttonEdit: function buttonEdit(ite, index) {