https://github.com/hanhdt/vue-trix/issues
我正在使用vue-trix,它是github存储库的链接,但我在问trix如何处理文件上传
是严格用于xhr请求还是我只能使用http请求。
<div class="form-group">
<vue-trix
:localStorage="localStorage"
v-model="form.body"
placeholder="Say something.."
@trix-file-accept="handleFile"
@trix-attachment-add="handleAttachmentAdd"
@trix-attachment-remove="handleAttachmentRemove"
/>
</div>