摘要: 因使用公共封装的请求方式不能完成语音功能,故使用wx.request自定义语音上传接口实现此功能 因为小程序不支持Formdata,所以需要在utils文件下新建formdata.js,然后在需要的地方进行引入 引入方式如下 const FormData = require('../../utils 阅读全文
posted @ 2023-02-28 15:24 代码改变世界是吧 阅读(726) 评论(0) 推荐(0)
摘要: vue3 + element-plus + ts + vite 使用element-plus的上传组件,这里使用的是http-request方式 <el-upload class="common-uploader" action="#" :http-request="httpRequest" :sh 阅读全文
posted @ 2023-02-28 14:57 代码改变世界是吧 阅读(1928) 评论(0) 推荐(0)