Wire up FE uploads to TO form

This commit is contained in:
richard-dds
2019-08-01 14:07:09 -04:00
parent 8eba9a097d
commit f5c8424b46
5 changed files with 19 additions and 11 deletions

View File

@@ -67,6 +67,8 @@ export default {
await this.uploader.upload(file, this.objectName)
this.attachment = e.target.value
this.showErrors = false
this.$refs.attachmentFilename.value = file.name
this.$refs.attachmentObjectName.value = this.objectName
} catch (err) {
console.log(err)
this.showErrors = true