邓洁: 修复bug
This commit is contained in:
@@ -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)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user