杨哲调试
This commit is contained in:
parent
c56f7fb553
commit
046af7c22e
|
@ -141,7 +141,8 @@ export default {
|
||||||
dataInfo: {
|
dataInfo: {
|
||||||
planName: '',
|
planName: '',
|
||||||
areas: []
|
areas: []
|
||||||
}
|
},
|
||||||
|
areaRes:{}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -195,6 +196,7 @@ export default {
|
||||||
}
|
}
|
||||||
const res = await GetAwaitUploadAreaApi(req)
|
const res = await GetAwaitUploadAreaApi(req)
|
||||||
console.log(res, 'res---')
|
console.log(res, 'res---')
|
||||||
|
this.areaRes = res
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: "开发调试查看",
|
title: "开发调试查看",
|
||||||
content: JSON.stringify(res) || "未传入参数 initFn",
|
content: JSON.stringify(res) || "未传入参数 initFn",
|
||||||
|
@ -222,9 +224,9 @@ export default {
|
||||||
console.log('%c%s', 'color:red', '上传图片')
|
console.log('%c%s', 'color:red', '上传图片')
|
||||||
|
|
||||||
const params = {
|
const params = {
|
||||||
planName: this.dataInfo.planName,
|
planName: this.areaRes.planName,
|
||||||
id: this.dataInfo.areas[this.dataInfo.areas.length - 1].id,
|
id: this.areaRes.id,
|
||||||
aeraNmae: this.dataInfo.areas[this.dataInfo.areas.length - 1].aeraNmae
|
aeraNmae: this.areaRes.name
|
||||||
}
|
}
|
||||||
console.log(params)
|
console.log(params)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue