Commit 95b9f9e95e731c0d5be96c358f18700ee055c710
1 parent
f49979b9
fix:DEFECT-520 数据流转编辑时,直接点击确认报400,但是界面没显示
Showing
2 changed files
with
4 additions
and
1 deletions
@@ -236,6 +236,9 @@ | @@ -236,6 +236,9 @@ | ||
236 | closeModal(); | 236 | closeModal(); |
237 | } else { | 237 | } else { |
238 | await addOrEditFunc(); | 238 | await addOrEditFunc(); |
239 | + if (allPostForm.configuration == undefined || allPostForm.configuration == null) { | ||
240 | + return createMessage.error('数据流转下一步配置项必填'); | ||
241 | + } | ||
239 | await postAddConvertApi(allPostForm); | 242 | await postAddConvertApi(allPostForm); |
240 | createMessage.success('数据流转编辑成功'); | 243 | createMessage.success('数据流转编辑成功'); |
241 | emit('success'); | 244 | emit('success'); |
@@ -757,7 +757,7 @@ export const modeApiForm: FormSchema[] = [ | @@ -757,7 +757,7 @@ export const modeApiForm: FormSchema[] = [ | ||
757 | label: 'Password', | 757 | label: 'Password', |
758 | colProps: { span: 12 }, | 758 | colProps: { span: 12 }, |
759 | required: true, | 759 | required: true, |
760 | - component: 'Input', | 760 | + component: 'InputPassword', |
761 | componentProps: { | 761 | componentProps: { |
762 | maxLength: 255, | 762 | maxLength: 255, |
763 | placeholder: '请输入Proxy password', | 763 | placeholder: '请输入Proxy password', |