Commit 4606ad16 by fengzhaoyu

fix:会议删除时刷新动态列表

parent 6f55dbbe
......@@ -115,7 +115,8 @@ create.Page({
}).then(res => {
if (!res.data.data) {
this.setData({
listLoading: false
listLoading: false,
dynamicList: []
});
return;
}
......
......@@ -779,7 +779,8 @@ create.Page({
planDate: this.data.scheduleItem.planDate
}
deleteSchedule(data).then(res => {
_that.$store.data.indexNeedUpdate = true
_that.$store.data.indexNeedUpdate = true;
_that.$store.data.isIndexAffairListNeedUpdate = true;
_that.update()
dd.navigateBack({
delta: 1
......@@ -1194,7 +1195,8 @@ create.Page({
deleteModel: 'only'
}
deleteSchedule(data).then(res => {
_that.$store.data.indexNeedUpdate = true
_that.$store.data.indexNeedUpdate = true;
_that.$store.data.isIndexAffairListNeedUpdate = true;
_that.update()
dd.navigateBack({
delta: 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment