|
@@ -75,8 +75,7 @@ import {
|
|
|
this.list = [];
|
|
this.list = [];
|
|
|
this.page = 1;
|
|
this.page = 1;
|
|
|
this.isAjax = false;
|
|
this.isAjax = false;
|
|
|
- this.getDraftList();
|
|
|
|
|
-
|
|
|
|
|
|
|
+ this.getDraftList();
|
|
|
},
|
|
},
|
|
|
delDraft(draftId, index) {
|
|
delDraft(draftId, index) {
|
|
|
uni.showModal({
|
|
uni.showModal({
|
|
@@ -108,11 +107,11 @@ import {
|
|
|
'selectText': this.selectText,
|
|
'selectText': this.selectText,
|
|
|
'page': this.page,
|
|
'page': this.page,
|
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
|
|
|
+ this.isAjax = false
|
|
|
if (res.code === 1) {
|
|
if (res.code === 1) {
|
|
|
this.list.push(...res.data.items)
|
|
this.list.push(...res.data.items)
|
|
|
this.total = res.data.total
|
|
this.total = res.data.total
|
|
|
- this.isAjax = false
|
|
|
|
|
- ++this.page;
|
|
|
|
|
|
|
+ ++this.page;
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
@@ -121,7 +120,6 @@ import {
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
|
|
|
|
|
this.$refs.scroll.onEndPulling()
|
|
this.$refs.scroll.onEndPulling()
|
|
|
- this.startList()
|
|
|
|
|
}, 200)
|
|
}, 200)
|
|
|
this.startList()
|
|
this.startList()
|
|
|
|
|
|