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