Commit 201b5c6d1c3c297b750cf9daffd9553914113fd7
Merge branch 'fix/DEFECT-1975' into 'main_dev'
fix: 修复看板新增视频时选择视频不是必填项 See merge request yunteng/thingskit-front!1282
Showing
1 changed file
with
3 additions
and
0 deletions
... | ... | @@ -71,6 +71,7 @@ export const formSchemas: FormSchema[] = [ |
71 | 71 | component: 'Input', |
72 | 72 | label: '地址', |
73 | 73 | colProps: { span: 16 }, |
74 | + required: true, | |
74 | 75 | ifShow: ({ model }) => model[FormFieldEnum.VIDEO_TYPE] === VideoOriginalEnum.CUSTOM, |
75 | 76 | componentProps: { |
76 | 77 | placeholder: '请输入自定义地址', |
... | ... | @@ -80,6 +81,7 @@ export const formSchemas: FormSchema[] = [ |
80 | 81 | field: FormFieldEnum.ORGANIZATION_ID, |
81 | 82 | component: 'OrgTreeSelect', |
82 | 83 | label: '组织', |
84 | + required: true, | |
83 | 85 | colProps: { span: 8 }, |
84 | 86 | ifShow: ({ model }) => model[FormFieldEnum.VIDEO_TYPE] === VideoOriginalEnum.VIDEO_MANAGE, |
85 | 87 | componentProps: ({ formActionType }) => { |
... | ... | @@ -106,6 +108,7 @@ export const formSchemas: FormSchema[] = [ |
106 | 108 | field: FormFieldEnum.VIDEO_ID, |
107 | 109 | component: 'ApiSelect', |
108 | 110 | label: '地址', |
111 | + required: true, | |
109 | 112 | colProps: { span: 8 }, |
110 | 113 | ifShow: ({ model }) => model[FormFieldEnum.VIDEO_TYPE] === VideoOriginalEnum.VIDEO_MANAGE, |
111 | 114 | componentProps: ({ formActionType, formModel }) => { | ... | ... |