|
|
@@ -196,7 +196,14 @@ class AnnounceRelease extends Component {
|
|
|
const fileUrls = []
|
|
|
if (fileList) {
|
|
|
fileList.forEach((value, index) => {
|
|
|
- fileUrls.push(value.picUrl)
|
|
|
+ if (value.status === 'uploading') {
|
|
|
+ Toast.fail('有附件正在上传,请稍候')
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
+ if (value.status === 'done') {
|
|
|
+ fileUrls.push(value.picUrl)
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
const stuList = [], teacherList = []
|