Commit 4606ad16 by fengzhaoyu

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

parent 6f55dbbe
...@@ -115,7 +115,8 @@ create.Page({ ...@@ -115,7 +115,8 @@ create.Page({
}).then(res => { }).then(res => {
if (!res.data.data) { if (!res.data.data) {
this.setData({ this.setData({
listLoading: false listLoading: false,
dynamicList: []
}); });
return; return;
} }
......
...@@ -779,7 +779,8 @@ create.Page({ ...@@ -779,7 +779,8 @@ create.Page({
planDate: this.data.scheduleItem.planDate planDate: this.data.scheduleItem.planDate
} }
deleteSchedule(data).then(res => { deleteSchedule(data).then(res => {
_that.$store.data.indexNeedUpdate = true _that.$store.data.indexNeedUpdate = true;
_that.$store.data.isIndexAffairListNeedUpdate = true;
_that.update() _that.update()
dd.navigateBack({ dd.navigateBack({
delta: 1 delta: 1
...@@ -1194,7 +1195,8 @@ create.Page({ ...@@ -1194,7 +1195,8 @@ create.Page({
deleteModel: 'only' deleteModel: 'only'
} }
deleteSchedule(data).then(res => { deleteSchedule(data).then(res => {
_that.$store.data.indexNeedUpdate = true _that.$store.data.indexNeedUpdate = true;
_that.$store.data.isIndexAffairListNeedUpdate = true;
_that.update() _that.update()
dd.navigateBack({ dd.navigateBack({
delta: 1 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