update 动态消息

This commit is contained in:
赵霄
2023-09-26 14:41:42 +08:00
parent 1849bf1ce6
commit 38225f5d4e
9 changed files with 485 additions and 5 deletions
+4
View File
@@ -175,6 +175,9 @@ export default {
this.initFileList(val)
}
}
},
fileType () {
this.fileTypes = this.fileType
}
},
computed: {
@@ -309,6 +312,7 @@ export default {
file.uploadGoOn = false
return false
}
console.log(this.fileType)
// 不等于全部类型可以上传的时候,对上传的文件进行判断
if (this.fileType !== FILE_TYPE_ALL) {
// filter(tt => fileType.indexOf(tt) > -1) 判断用户传的文件类型,和要求传的文件类型是否一致