修改了对应bug

This commit is contained in:
chenze 2024-10-31 16:43:45 +08:00
parent 29d53a71bf
commit 491acf4097
2 changed files with 12 additions and 2 deletions

View File

@ -366,6 +366,7 @@ App({
roomId: '242', roomId: '242',
lockId: '80' lockId: '80'
},{ },{
//长乐茶室
roomId: '243', roomId: '243',
lockId: '81' lockId: '81'
} }

View File

@ -41,7 +41,10 @@ Page({
this.setData({ this.setData({
startTime: event.detail, startTime: event.detail,
}); });
setTimeout(() =>{
this.setEndMaxTime(event.detail) this.setEndMaxTime(event.detail)
},400)
}, },
// 选择-结束时间 // 选择-结束时间
@ -118,7 +121,11 @@ Page({
this.setData({ this.setData({
maxTime: maxTime.getTime() maxTime: maxTime.getTime()
}) })
console.log(this.data.startTime);
setTimeout(() =>{
this.setEndMaxTime(this.data.startTime) this.setEndMaxTime(this.data.startTime)
},400)
// this.setEndMaxTime(this.data.startTime)
// 设置最小时间 // 设置最小时间
this.setMinTime() this.setMinTime()
}, },
@ -139,6 +146,8 @@ Page({
this.setData({ this.setData({
endMaxTime: endMaxTime endMaxTime: endMaxTime
}) })
}, },