Fix error

This commit is contained in:
syuilo 2019-04-17 16:50:50 +09:00
parent 22bf8eb86f
commit 9f363d253d
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ export default Vue.extend({
props: {
files: {
type: Object,
type: Array,
required: true
},
detachMediaFn: {

View file

@ -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>