更新
This commit is contained in:
@@ -211,6 +211,8 @@
|
||||
}
|
||||
|
||||
this.location = uni.getStorageSync('location')
|
||||
|
||||
// console.log('option',option)
|
||||
|
||||
if (!option.item) {
|
||||
let siteInfos = uni.getStorageSync('siteInfo')
|
||||
@@ -293,7 +295,7 @@
|
||||
}
|
||||
let user = uni.getStorageSync('user');
|
||||
if (user) {
|
||||
oilSiteApi.getSiteDetails(data2).then(res => {
|
||||
oilSiteApi.getSiteDetailsByKA(data2).then(res => {
|
||||
if (res.code == 20000) {
|
||||
this.siteInfo = Object.assign(item, res.data);
|
||||
}
|
||||
|
||||
@@ -283,7 +283,7 @@
|
||||
...uni.getStorageSync('location'),
|
||||
siteId: this.siteId
|
||||
}
|
||||
oilSiteApi.getSiteDetails(data2).then(res => {
|
||||
oilSiteApi.getSiteDetailsByKA(data2).then(res => {
|
||||
if (res.code == 20000) {
|
||||
this.siteInfo = res.data
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user