Fix error

This commit is contained in:
syuilo 2019-04-17 16:50:50 +09:00
parent c96418806f
commit 9399a44c82
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
2 changed files with 2 additions and 2 deletions
src/client/app/common/views

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>