2022年10月17日

element3 form表单校验对象里面有对象的情况

摘要: let formSearch = reactive({ queryParam: [ { field: "", //查询的字段 gzcs: "", //规则参数 cxcs: "", //查询参数 selectList3: [],//下拉框选项 selectList4: [],//下拉框选项 input 阅读全文

posted @ 2022-10-17 11:16 唠叨的意志 阅读(67) 评论(0) 推荐(0) 编辑

vue vant3上传图片文件以流的形式上传

摘要: axios.post("/fjt_fast/sys/comm/upload", { file: param.file}, { headers: { 'Content-Type': 'multipart/form-data' },}).then((res) => { }).catch(e=>{ }); 阅读全文

posted @ 2022-10-17 11:12 唠叨的意志 阅读(303) 评论(0) 推荐(0) 编辑

vue3导出功能

摘要: proxy.$axios.own.get(url,{ responseType: 'blob' //首先设置responseType字段格式为 blob}).then(res => { let blob = new Blob([res.data], {type: "application/vnd.o 阅读全文

posted @ 2022-10-17 11:09 唠叨的意志 阅读(384) 评论(0) 推荐(0) 编辑

导航