|
|
@ -306,10 +306,10 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
upload (type) {
|
|
|
|
// upload (type) {
|
|
|
|
this.currentContentType = type
|
|
|
|
// this.currentContentType = type
|
|
|
|
this.$refs[`${this.currentContentType}File`].click()
|
|
|
|
// this.$refs[`${this.currentContentType}File`].click()
|
|
|
|
},
|
|
|
|
// },
|
|
|
|
handleBatchUpload (source) {
|
|
|
|
handleBatchUpload (source) {
|
|
|
|
const file = source.target.files
|
|
|
|
const file = source.target.files
|
|
|
|
const reader = new FileReader() // 新建一个FileReader
|
|
|
|
const reader = new FileReader() // 新建一个FileReader
|
|
|
|