|
@@ -80,7 +80,7 @@ export default {
|
|
|
},
|
|
|
async queryAttachment (id) {
|
|
|
this.params.content.where.parentid = id?id:0
|
|
|
- this.params.content.where.postfixs = this.accept.split(",")
|
|
|
+ this.params.content.where.postfixs = this.accept?this.accept.split(","):[]
|
|
|
const res = await this.$api.requested(this.params)
|
|
|
res.data.map(e=>{
|
|
|
e.postfix = e.postfix.toUpperCase()
|