Fix error
This commit is contained in:
parent
c96418806f
commit
9399a44c82
|
@ -32,7 +32,7 @@ export default Vue.extend({
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
files: {
|
files: {
|
||||||
type: Object,
|
type: Array,
|
||||||
required: true
|
required: true
|
||||||
},
|
},
|
||||||
detachMediaFn: {
|
detachMediaFn: {
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<fa :icon="['far', 'laugh']"/>
|
<fa :icon="['far', 'laugh']"/>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</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"/>
|
<input ref="file" type="file" multiple="multiple" tabindex="-1" @change="onChangeFile"/>
|
||||||
<mk-uploader ref="uploader" @uploaded="attachMedia"/>
|
<mk-uploader ref="uploader" @uploaded="attachMedia"/>
|
||||||
<footer>
|
<footer>
|
||||||
|
|
Loading…
Reference in New Issue