Commit 90922fef by chenwq

经纬度6位小数

1 parent 1faf22d9
...@@ -452,6 +452,8 @@ export default { ...@@ -452,6 +452,8 @@ export default {
this.merchantInfo.merchantPortrait = this.List[9].value this.merchantInfo.merchantPortrait = this.List[9].value
const params = this.$deep_clone(this.merchantInfo) const params = this.$deep_clone(this.merchantInfo)
delete params.merchantChannelName delete params.merchantChannelName
params.lat = params.lat.toFixed(6)
params.lng = params.lng.toFixed(6)
let attrList = Object.keys(params) let attrList = Object.keys(params)
attrList.forEach(item => { attrList.forEach(item => {
params[item] = params[item] || '' params[item] = params[item] || ''
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!