11 2021 档案

摘要:来源:http://www.ruoyi.vip/ import Vue from 'vue' import SvgIcon from '@/components/SvgIcon'// svg component // register globally Vue.component('svg-icon 阅读全文
posted @ 2021-11-12 16:59 闰土的土 阅读(1042) 评论(0) 推荐(0)
摘要:export function UpLoadImg(file) { console.log(file) const param = new FormData() // 创建form对象 param.append('image', file) // 通过append向form对象添加数据 const 阅读全文
posted @ 2021-11-04 14:11 闰土的土 阅读(42) 评论(0) 推荐(0)
摘要:request.js /* * @Description: * @Author: Nan * @Date: 2021-04-15 09:24:13 * @LastEditors: nanJ * @LastEditTime: 2021-09-17 15:20:28 * @FilePath: \arch 阅读全文
posted @ 2021-11-04 14:08 闰土的土 阅读(314) 评论(0) 推荐(0)
摘要:requestService.js import axios from "axios"; import _ from "lodash"; import qs from "qs"; var service = axios.create({ timeout: 40000, headers: { "Con 阅读全文
posted @ 2021-11-04 14:05 闰土的土 阅读(605) 评论(0) 推荐(0)
摘要:down.js/** * @url 下载地址 * @filename 所需要的文件名称 */ import { getToken } from '@/utils/auth' import { Message } from 'element-ui' export function downFile(u 阅读全文
posted @ 2021-11-04 13:59 闰土的土 阅读(145) 评论(0) 推荐(0)