Allow Flow upload target URL to change after main render.
This commit is contained in:
parent
70b2e3dd4e
commit
0a2fafa5ee
|
@ -62,7 +62,9 @@ export default {
|
|||
},
|
||||
mounted () {
|
||||
let defaultConfig = {
|
||||
target: this.targetUrl,
|
||||
target: () => {
|
||||
return this.targetUrl
|
||||
},
|
||||
singleFile: !this.allowMultiple,
|
||||
headers: {
|
||||
'Accept': 'application/json'
|
||||
|
|
Loading…
Reference in New Issue