updated
This commit is contained in:
@@ -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!==''){
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user