diff --git a/pagesInn/inn/innApply.vue b/pagesInn/inn/innApply.vue index 5d38551..449166c 100644 --- a/pagesInn/inn/innApply.vue +++ b/pagesInn/inn/innApply.vue @@ -432,11 +432,14 @@ export default { console.log('详细地址:' + res.address); console.log('纬度:' + res.latitude); console.log('经度:' + res.longitude); + that.innApplyInfo.address = res.address; + that.innApplyInfo.position = that.$forceToDecimal(res.longitude, 6) + ',' + that.$forceToDecimal(res.latitude, 6); } }); - + }, + submit() { if (this.addressText.length == 0) { this.$dialog.error("请选择店铺所在省市区"); return;