src/views/security/security.vue
@@ -136,6 +136,11 @@ this.placeBox = !this.placeBox }, overHidden: true, rules: [{ required: true, message: "请选择活动地点", trigger: "blur" }], }, { label: "经度", @@ -363,14 +368,6 @@ }, rowUpdate (row, index, done, loading) { console.log('row', row) if (!row.activityArea) { this.$message.warning("请绘制活动区域") loading() return } if (!row.activityArea.startsWith("'LINESTRING")) { row.activityArea = "'LINESTRING(" + row.activityArea + ")'" } row.position = row.longitude + " " + row.latitude update(row).then(() => { this.onLoad(this.page)