提交 946d42d2 作者: ZhangLingKun

Merge branch 'develop'

流水线 #7541 已通过 于阶段
in 1 分 6 秒
...@@ -14,4 +14,4 @@ patches: ...@@ -14,4 +14,4 @@ patches:
images: images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG - name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin
newTag: 7fb45ae794b33eef3f946c74d4e7a7d5ff091c0c newTag: ebb3ca94f87fc54448b50da02e224c6b7862f2b1
...@@ -107,7 +107,7 @@ const AddEditModal: React.FC<propType> = (props) => { ...@@ -107,7 +107,7 @@ const AddEditModal: React.FC<propType> = (props) => {
// 回显数据 // 回显数据
form.setFieldsValue({ form.setFieldsValue({
...data, ...data,
courseId: [oneCourseId?.id, twoCourseId?.id], courseId: [oneCourseId?.id, twoCourseId?.id] as any,
}); });
setCourseAttributeSelect(data?.courseAttribute || 0); setCourseAttributeSelect(data?.courseAttribute || 0);
} }
...@@ -187,9 +187,9 @@ const AddEditModal: React.FC<propType> = (props) => { ...@@ -187,9 +187,9 @@ const AddEditModal: React.FC<propType> = (props) => {
</div> </div>
</Form.Item> </Form.Item>
<Form.Item <Form.Item
label='课程上传' label='课程视频'
name='videoUrl' name='videoUrl'
rules={[{ required: false, message: '请上传课程上传' }]} rules={[{ required: true, message: '请上传课程视频' }]}
style={{ marginBottom: '-40px' }} style={{ marginBottom: '-40px' }}
> >
<div> <div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论