邓洁: 修复bug

This commit is contained in:
邓洁
2023-12-29 10:31:46 +08:00
parent abdbbbda31
commit 57b22361dc
5 changed files with 69 additions and 21 deletions

View File

@@ -90,12 +90,14 @@ const handleSave = async () => {
constructionLength: 500,
tunnelLength: form.value.totalLength,
isDefault: form.value.isDefault,
tunnelThreeConfig: JSON.stringify(await store.getEquipmentList())
modelEquipmentList:await store.getEquipmentList()
}
editTunnel(data).then((res) => {
if (res?.code === 1000) {
ElMessage.success(res.msg)
router.push('/tunnel/' + form.value.siteId+'/'+type+'/'+userId)
}else {
ElMessage.error(res.msg)
}
});
}