update about api

This commit is contained in:
cmxdd
2020-07-30 19:49:12 +08:00
parent 5094efd41e
commit 22ea59f5c5
16 changed files with 1298 additions and 809 deletions

View File

@@ -70,8 +70,7 @@ export default {
this.$u.api.articlelist({
type: that.type,
page: that.num
})
.then(res => {
}).then(res => {
if (res.errCode != 0) {
this.$refs.uToast.show({
title: res.message,
@@ -101,8 +100,7 @@ export default {
that.show = false;
this.$u.api.delarticle({
article_id: that.delid
})
.then(res => {
}).then(res => {
console.log(res)
if (res.errCode != 0) {
this.$refs.uToast.show({
@@ -115,6 +113,7 @@ export default {
type: 'success'
});
// 删除后更新页面
this.delid = null
this.newlist = [];
that.num=1
that.getlist()