Fix error
This commit is contained in:
parent
c96418806f
commit
9399a44c82
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ export default Vue.extend({
|
|||
|
||||
props: {
|
||||
files: {
|
||||
type: Object,
|
||||
type: Array,
|
||||
required: true
|
||||
},
|
||||
detachMediaFn: {
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<fa :icon="['far', 'laugh']"/>
|
||||
</button>
|
||||
</div>
|
||||
<x-post-form-attaches class="files" :files="files" :detachMediaFn="detachMedia"/>
|
||||
<x-post-form-attaches class="files" :files="files" :detach-media-fn="detachMedia"/>
|
||||
<input ref="file" type="file" multiple="multiple" tabindex="-1" @change="onChangeFile"/>
|
||||
<mk-uploader ref="uploader" @uploaded="attachMedia"/>
|
||||
<footer>
|
||||
|
|
Loading…
Reference in a new issue