Commit 0f495525 authored by xuke's avatar xuke

参数配置-参数保存校验

parent 3a81b185
...@@ -239,6 +239,7 @@ const getListData = () => { ...@@ -239,6 +239,7 @@ const getListData = () => {
// 保存修改 // 保存修改
const onSave = async () => { const onSave = async () => {
formDatas.value.transferIds = formDatas.value.transferIds.join(","); formDatas.value.transferIds = formDatas.value.transferIds.join(",");
await formRef.value.validate()
const result = await postConfigBoilerUpdate({ ...formDatas.value }); const result = await postConfigBoilerUpdate({ ...formDatas.value });
if (result.success) { if (result.success) {
ElMessage.success(result.message) ElMessage.success(result.message)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment