Commit 33dd6440 by xiexiaoqin

fix:创建单个会议不刷新

parent e86bbc37
...@@ -70,6 +70,13 @@ create.Page({ ...@@ -70,6 +70,13 @@ create.Page({
title: "日程" title: "日程"
}); });
this.getScheduleList(this.$store.data.onceMeetingContent, "once"); this.getScheduleList(this.$store.data.onceMeetingContent, "once");
this.setData({
scheduleList: this.scheduleList.slice(
this.firstPage * this.pageSize,
this.currentPage * this.pageSize
),
loading: false
});
this.$store.data.onceMeetingContent = null; this.$store.data.onceMeetingContent = null;
this.update(); this.update();
} }
...@@ -514,7 +521,7 @@ create.Page({ ...@@ -514,7 +521,7 @@ create.Page({
} }
}, },
//日程数据 //日程数据
getScheduleList(response, type, changePagination) { getScheduleList(response, type) {
if (type == "once") { if (type == "once") {
this.setDateMapValue(response.startTime, response.endTime, response); this.setDateMapValue(response.startTime, response.endTime, response);
} else { } else {
......
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