Commit a0cbec09 authored by “yiyousong”'s avatar “yiyousong”

perf: 优化站点编辑

parent 418fd478
...@@ -726,7 +726,7 @@ export default { ...@@ -726,7 +726,7 @@ export default {
this.$refs.ruleForm.validateField("detailAddress", (errVal) => { this.$refs.ruleForm.validateField("detailAddress", (errVal) => {
if (errVal !== "中心详细地址不能为空") { if (errVal !== "中心详细地址不能为空") {
axios axios
.get("https://restapi.amap.com/v3/geocode/geo?parameters", { .get("https://restapi.amap.com/v3/geocode/geo", {
params: { params: {
key: "21e7ac78b448640e516f1eddc3ffd720", //key key: "21e7ac78b448640e516f1eddc3ffd720", //key
address: address, //获取输入的位置 address: address, //获取输入的位置
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment