Commit c9633f2e by xiexiaoqin

fix:地点名称

parent b0363e4b
......@@ -12,7 +12,7 @@ function padZero(val) {
// 生成分钟 每隔五分钟
function generateMin(max) {
const time = [];
for (let i = 0; i < max; i += 15) {
for (let i = 0; i < max; i += 5) {
time.push(padZero(i))
}
return time;
......
......@@ -176,7 +176,9 @@ create.Page({
})
this.$store.data.originalData = res.data.data;
this.$store.data.locationName = res.data.data.location ? res.data.data.location.locationName : ''
if (res.data.data.location) {
this.$store.data.locationName = res.data.data.location.meetingRoomName || res.data.data.location.locationName;
}
this.$store.data.roomId = res.data.data.meetingRoomId < 0 ? '' : res.data.data.meetingRoomId
this.store.data.scheduleId = res.data.data.groupId
this.$store.data.startTime = res.data.data.startTime.replace(/-/g, "/")
......
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