代码优化
This commit is contained in:
parent
fb62df9086
commit
3aba2a7a36
|
|
@ -487,8 +487,8 @@ export default {
|
|||
}
|
||||
})
|
||||
|
||||
this.submitParams.lon = longitude
|
||||
this.submitParams.lat = latitude
|
||||
this.submitParams.lon = longitude.length > 7 ? longitude.slice(0, 7) : longitude
|
||||
this.submitParams.lat = latitude.length > 6 ? longitude.slice(0, 6) : latitude
|
||||
// console.log(province, 'province')
|
||||
// this.submitParams.address = `${province}${city}${district}${street}${streetNum}${poiName}`
|
||||
},
|
||||
|
|
|
|||
|
|
@ -582,7 +582,7 @@ export default {
|
|||
|
||||
console.log('saveParams保存参数', params)
|
||||
|
||||
const result = await setMonthPlanProApi(params)
|
||||
const result = await submitPlanProApi(params)
|
||||
|
||||
console.log(result, 'results上报人提交结果')
|
||||
if (result.res == 1) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue