src/views/collaborativeApproval/rpaManagement/index.vue
@@ -247,7 +247,7 @@ const openForm = (type, row) => { dialogType.value = type; dialogVisible.value = true; if (type === "add") { dialogTitle.value = "添加RPA"; } else { @@ -259,10 +259,10 @@ // 提交表单 const submitForm = async () => { if (!formRef.value) return; try { await formRef.value.validate(); if (dialogType.value === "add") { // 添加新RPA addRpa({...form.value}).then(res => { @@ -348,7 +348,7 @@ } }).catch(err => { ElMessage.error(err.msg); }) }) }) .catch(() => { proxy.$modal.msg("已取消");