Trix如何处理文件上传

时间:2019-03-14 05:26:52

标签: laravel vuejs2

https://github.com/hanhdt/vue-trix/issues

我正在使用vue-trix,它是github存储库的链接,但我在问trix如何处理文件上传

  1. 是严格用于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>
    

0 个答案:

没有答案