|
@@ -146,7 +146,7 @@ function editDrawingPolygon() {
|
|
|
}
|
|
|
],
|
|
|
actionMode: TMap.tools.constants.EDITOR_ACTION.DRAW, //编辑器的工作模式
|
|
|
- snappable: true // 开启邻近吸附
|
|
|
+ snappable: false // 开启邻近吸附
|
|
|
});
|
|
|
|
|
|
// 监听绘制结束事件,获取绘制几何图形
|
|
@@ -175,7 +175,7 @@ function editDrawingPolygon() {
|
|
|
}
|
|
|
],
|
|
|
actionMode: TMap.tools.constants.EDITOR_ACTION.EDIT, // 设置为编辑模式
|
|
|
- snappable: true, // 开启邻近吸附
|
|
|
+ snappable: false, // 开启邻近吸附
|
|
|
selectable: true // 开启点选功能
|
|
|
});
|
|
|
|
|
@@ -218,7 +218,7 @@ function saveDrawingPolygon() {
|
|
|
if (response.code === 200) {
|
|
|
proxy.$modal.msgSuccess('地址保存成功');
|
|
|
open.value = false;
|
|
|
- getList();
|
|
|
+ //getList();
|
|
|
} else {
|
|
|
proxy.$modal.msgError(response.msg || '地址保存失败');
|
|
|
}
|
|
@@ -255,6 +255,7 @@ onUnmounted(() => {
|
|
|
button {
|
|
|
padding: 4px;
|
|
|
background-color: #fff;
|
|
|
+ color: #333;
|
|
|
margin-right: 5px;
|
|
|
border: 1px solid #ddd;
|
|
|
}
|