src/views/basicData/parameterMaintenance/index.vue
@@ -142,9 +142,8 @@ </el-form> <template #footer> <span class="dialog-footer"> <el-button type="primary" @click="handleSubmit">确定</el-button> <el-button @click="dialogVisible = false">取消</el-button> <el-button type="primary" @click="handleSubmit">确定</el-button> </span> </template> </el-dialog> @@ -566,6 +565,10 @@ // 提交表单 const handleSubmit = () => { if (formData.paramType == 3 && !formData.paramFormat) { ElMessage.warning("下拉字典不能为空!"); return; } formRef.value.validate(valid => { if (valid) { if (formData.id) {