--fix 面授课 与任务分开

This commit is contained in:
yuping
2023-01-16 17:18:32 +08:00
parent 185efb082c
commit f7f245e1c2
6 changed files with 41 additions and 77 deletions

View File

@@ -31,35 +31,12 @@
name="uploadFile"
:multiple="false"
@change="handleChange"
:data="
courseType == 1
? {
:data="{
targetId: Number(courseId),
type: 3,
type: courseType,
userId: userInfo.id,
userName: userInfo.realName,
}
: courseType == 3
? {
targetId: Number(courseId),
type: 1,
userId: userInfo.id,
userName: userInfo.realName,
}
: courseType == 4
? {
targetId: Number(courseId),
type: 2,
userId: userInfo.id,
userName: userInfo.realName,
}
: {
targetId: Number(courseId),
type: 3,
userId: userInfo.id,
userName: userInfo.realName,
}
"
} "
:showUploadList="false"
>
<p class="ant-upload-drag-icon">