This commit is contained in:
wanglei
2021-11-30 15:18:34 +08:00
parent ac6b009815
commit 1c3a641cf4
2 changed files with 13 additions and 19 deletions

View File

@@ -66,6 +66,13 @@
}
},
methods: {
emitShow(){
this.getList()
},
emitReachBottom(){
this.current = this.current + 1;
this.getList()
},
tag(status) {
return {
"1": this.$cdn + 'common/1wks.png',
@@ -103,15 +110,6 @@
},
},
created() {
this.getList()
},
onReachBottom() {
this.current = this.current + 1;
this.getList()
},
filters: {
formatTime(date) {
return date.split(" ")[1]?.substr(0, 5)

View File

@@ -145,6 +145,12 @@
};
this.showList = false;
}
this.current = 1;
this.getList();
},
emitReachBottom(){
this.current = this.current + 1;
this.getList()
},
changeState() {
this.$http.post(this.content == '删除' ? '/app/appannouncement/delete' : "/app/appannouncement/update-status", null, {
@@ -246,16 +252,6 @@
})
}
},
onShow() {
this.current = 1;
this.getList();
},
onReachBottom() {
this.current = this.current + 1;
this.getList()
},
}
</script>