|
|
@@ -133,7 +133,7 @@ Page({
|
|
|
});
|
|
|
let arr = this.data.oldtabbarList
|
|
|
if (res.data.status == '结束') {
|
|
|
- arr = this.data.tabbarList.filter(item => item.label == '结束')
|
|
|
+ arr = []
|
|
|
} else if (res.data.status == '发布') {
|
|
|
arr = this.data.tabbarList.filter(item => item.label != '编辑')
|
|
|
}
|
|
|
@@ -230,6 +230,9 @@ Page({
|
|
|
});
|
|
|
if (res.msg == '成功') {
|
|
|
this.getDetail()
|
|
|
+ let pages = getCurrentPages(),
|
|
|
+ page = pages[pages.length - 2]
|
|
|
+ page.getList(true)
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
@@ -255,6 +258,9 @@ Page({
|
|
|
});
|
|
|
if (res.msg == '成功') {
|
|
|
this.getDetail()
|
|
|
+ this.setData({
|
|
|
+ tabbarList: []
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
}
|