This commit is contained in:
Iruka 2025-01-06 12:15:57 +08:00
parent baa10fd1ef
commit 93cfb11780
2 changed files with 5 additions and 6 deletions

View File

@ -104,12 +104,12 @@
}
},
onLoad(par) {
const cacheData = uni.getStorageSync("cacheData");
if (cacheData) {
this.landId = cacheData.land.id;
if (getApp().ijs.land) {
this.landId = getApp().ijs.land.id;
} else {
this.landId = -1;
}
//
let list = [];
for (let i = 410; i < 491; i++) {

View File

@ -86,9 +86,8 @@
let queryParams = JSON.parse(par.queryParams);
this.queryParams = Object.assign(this.queryParams, queryParams)
} else {
const cacheData = uni.getStorageSync("cacheData");
if (cacheData) {
this.queryParams.landId = cacheData.land.id;
if (getApp().ijs.land) {
this.queryParams.landId = getApp().ijs.land.id;
}
}
},