diff --git a/packages/grid/AppGridBlock/components/list.vue b/packages/grid/AppGridBlock/components/list.vue index ff2e7b87..ff999eab 100644 --- a/packages/grid/AppGridBlock/components/list.vue +++ b/packages/grid/AppGridBlock/components/list.vue @@ -300,7 +300,7 @@ export default { }, //map搜索 confirm(row, points) { - this.instance.post(`/app/appgirdinfo/addOrUpdate`, {...row, points}).then((res) => { + this.instance.post(`/app/appgirdinfo/updateCoordinate`, {...row, points}).then((res) => { if (res.code == 0) { this.$message.success("提交成功!") this.getList(); diff --git a/project/sass/apps/grid/AppGridBlock/components/list.vue b/project/sass/apps/grid/AppGridBlock/components/list.vue index 8e896455..4d9896a2 100644 --- a/project/sass/apps/grid/AppGridBlock/components/list.vue +++ b/project/sass/apps/grid/AppGridBlock/components/list.vue @@ -327,7 +327,7 @@ export default { }, //map搜索 confirm(row, points) { - this.instance.post(`/app/appgirdinfo/addOrUpdate`, {...row, points}).then((res) => { + this.instance.post(`/app/appgirdinfo/updateCoordinate`, {...row, points}).then((res) => { if (res.code == 0) { this.$message.success("提交成功!") this.getList();