补充缺失文件

This commit is contained in:
2025-07-30 17:23:53 +08:00
parent 6ce8253f26
commit 2d3e133203
2 changed files with 296 additions and 290 deletions

View File

@@ -1,2 +1,2 @@
VITE_APP_NAME=后台管理(开发环境) VITE_APP_NAME=后台管理(开发环境)
VITE_API_URL=http://127.0.0.1:9200/api #VITE_API_URL=http://127.0.0.1:9200/api

View File

@@ -71,7 +71,8 @@
style="margin-left: 10px; width: 137px" style="margin-left: 10px; width: 137px"
@click="openMapPicker" @click="openMapPicker"
> >
<AimOutlined />选取 <AimOutlined/>
选取
</a-button> </a-button>
</div> </div>
</a-form-item> </a-form-item>
@@ -352,6 +353,10 @@
if (!formRef.value) { if (!formRef.value) {
return; return;
} }
if (form.code == '' || !form.code) {
message.error('所属站点下的节点不能为空!');
return;
}
formRef.value formRef.value
.validate() .validate()
.then(() => { .then(() => {
@@ -373,7 +378,8 @@
message.error(e.message); message.error(e.message);
}); });
}) })
.catch(() => {}); .catch(() => {
});
}; };
watch( watch(