Commit d467c810 by fengzhaoyu

Merge branch 'dev' into release/1.0.0

parents 61f236b0 b842b42d
...@@ -34,7 +34,7 @@ create.Page({ ...@@ -34,7 +34,7 @@ create.Page({
$data: null, $data: null,
iconDay: currentDate.getDate(), iconDay: currentDate.getDate(),
scheduleList: [], scheduleList: [],
todayStr: toLocaleDateString(currentDate), todayStr: '',
currentData: toLocaleDateString(currentDate), currentData: toLocaleDateString(currentDate),
currentDataIndex: 0, currentDataIndex: 0,
offset: "stop", offset: "stop",
...@@ -170,7 +170,9 @@ create.Page({ ...@@ -170,7 +170,9 @@ create.Page({
loading: false loading: false
}); });
this.isLoaded = true; this.isLoaded = true;
this.backToToday('first') setTimeout(() => {
this.backToToday('first')
}, 300)
return; return;
} }
...@@ -181,7 +183,9 @@ create.Page({ ...@@ -181,7 +183,9 @@ create.Page({
sign: res.data.data.sign sign: res.data.data.sign
}) })
if (this.isFirstLoad) { if (this.isFirstLoad) {
this.backToToday('first') setTimeout(() => {
this.backToToday('first')
}, 300)
this.isFirstLoad = false; this.isFirstLoad = false;
} }
return return
......
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