This commit is contained in:
Mauve
2026-10-26 09:33:21 +08:00
parent 3f8930df4c
commit 0338dfb427
7 changed files with 39 additions and 10 deletions
+4 -1
View File
@@ -306,7 +306,7 @@
if(res.success === true){
if(res !== null){
uni.setStorageSync("idToken",res.idToken);
uni.setStorageSync("token",res.token);
uni.setStorageSync("token",res.accessToken);
uni.setStorageSync("userData",res.userData);
uni.setStorageSync("clientId",res.clientId);
uni.setStorageSync("timeOut",dayjs().add(30,'day').unix());
@@ -345,6 +345,9 @@
await this.getSetting();
const userData = uni.getStorageSync("userData");
// this.siteData.mockSSO = true;
let loginTag = false;
uni.setStorageSync("todoSwitch","true");
if(userData!==undefined && userData!==null && userData!==''){
+2
View File
@@ -462,6 +462,7 @@
RoomType: allRoomType,
StartDate: dateRange.startDate,
EndDate: dateRange.endDate,
category: this.currentProperty.category,
};
const res = await requestRoomCalendar(params, this.getCalendarRequestConfig(requestId));
if (!this.isLatestCalendarRequest(requestId)) return;
@@ -548,6 +549,7 @@
RoomType: allRoomType,
StartDate: dateRange.startDate,
EndDate: dateRange.endDate,
category: this.currentProperty.category,
};
},
getUniqueCodes(codes) {