Element-Ui之Upload组件,利用axios+阿里oss上传

利用阿里oss作文件服务器,配合element-ui的upload组件实现。 经过重写upload组件的http-request属性实现。具体实现逻辑以下:javascript 配置axios 重写http-request请求 在引用Upload时重写http-request 具体实现 fnOSSUpload(options) { const that = this; that.$ht
相关文章
相关标签/搜索