Fix:3175 【商城小程序】修改店铺页面的营业时间没有获取已经保存过的数据

This commit is contained in:
linxi
2025-02-12 15:55:36 +08:00
parent ff205ec37f
commit e45d9e1afc
+2 -3
View File
@@ -266,10 +266,9 @@ export default {
// 赋值 // 赋值
const hotel = JSON.parse(uni.getStorageSync('MY_HOTEL_INFO')) const hotel = JSON.parse(uni.getStorageSync('MY_HOTEL_INFO'))
this.innHistory = { this.innHistory = {
...hotel, ...hotel
serviceTime: '00:00',
serviceEndTime: '23:59'
} }
console.log(hotel,'hotel');
this.fillData(this.innApplyInfo, this.innHistory) this.fillData(this.innApplyInfo, this.innHistory)
if (hotel.coverType === 2) { if (hotel.coverType === 2) {
this.innApplyInfo.coverVideo = hotel.cover this.innApplyInfo.coverVideo = hotel.cover