|
@@ -477,8 +477,8 @@ function updateFormInline(newData, name) {
|
|
|
|
|
|
// 删除地块
|
|
|
const handleDelete = () => {
|
|
|
- if (!mapData.curPointData.id) return ElMessage("请选择地块");
|
|
|
const id = mapData.selectPointArr.map((item) => item.values_.id);
|
|
|
+ if (id.length<0) return ElMessage("请选择地块");
|
|
|
ElMessageBox.confirm("您确定删除该地块吗?", "提示", {
|
|
|
confirmButtonText: "确认",
|
|
|
cancelButtonText: "取消",
|