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;
setTimeout(() => {
this.backToToday('first') 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) {
setTimeout(() => {
this.backToToday('first') this.backToToday('first')
}, 300)
this.isFirstLoad = false; this.isFirstLoad = false;
} }
return return
......
...@@ -421,7 +421,8 @@ create.Page({ ...@@ -421,7 +421,8 @@ create.Page({
); );
} else { } else {
dd.alert({ dd.alert({
content: "会议室已被占用" content: "会议室已被占用",
buttonText: "确定"
}); });
} }
}); });
...@@ -530,7 +531,8 @@ create.Page({ ...@@ -530,7 +531,8 @@ create.Page({
); );
} else { } else {
dd.alert({ dd.alert({
content: "会议室已被占用" content: "会议室已被占用",
buttonText: "确定"
}); });
} }
}); });
...@@ -828,7 +830,8 @@ create.Page({ ...@@ -828,7 +830,8 @@ create.Page({
); );
} else { } else {
dd.alert({ dd.alert({
content: "会议室已被占用" content: "会议室已被占用",
buttonText: "确定"
}); });
} }
}); });
...@@ -937,7 +940,8 @@ create.Page({ ...@@ -937,7 +940,8 @@ create.Page({
); );
} else { } else {
dd.alert({ dd.alert({
content: "会议室已被占用" content: "会议室已被占用",
buttonText: "确定"
}); });
} }
}); });
...@@ -1326,8 +1330,8 @@ create.Page({ ...@@ -1326,8 +1330,8 @@ create.Page({
} }
); );
}, },
onMonthChange() {}, onMonthChange() { },
onYearChange() {}, onYearChange() { },
onSelectHasDisableDate() { onSelectHasDisableDate() {
my.alert({ my.alert({
content: "SelectHasDisableDate" content: "SelectHasDisableDate"
......
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