|
@@ -401,9 +401,6 @@ const handleEdit = () => {
|
|
|
const isUpdata = ref(true);
|
|
|
const onCancel = (isCancel) => {
|
|
|
isEdit.value = false;
|
|
|
- authenticMap.setPoint("point");
|
|
|
- authenticMap.clearMapData("isEdit", false, formInline.id);
|
|
|
- authenticMap.endDraw();
|
|
|
if (isUpdata.value || isCancel) {
|
|
|
authenticMap.cancelDraw();
|
|
|
} else {
|
|
@@ -417,6 +414,9 @@ const onCancel = (isCancel) => {
|
|
|
authenticMap.allUnSelect()
|
|
|
});
|
|
|
}
|
|
|
+ authenticMap.setPoint("point");
|
|
|
+ authenticMap.clearMapData("isEdit", false, formInline.id);
|
|
|
+ authenticMap.endDraw();
|
|
|
};
|
|
|
|
|
|
// 保存
|