摘要:
如果传输的参数是对象形式: api // 下载测试 export const downLoadExcal = (data) => { return instancejava.get("/sso/download",{ data,responseType: 'blob' // 需要制定类型(这个写法如 阅读全文
posted @ 2021-03-31 15:41
seekHelp
阅读(670)
评论(0)
推荐(0)
摘要:
数组的扁平化就是数组里面嵌套数组,最后需要的是只有一维的数据 1、es6提供的新方法flat(depth) let a = [1,[2,3]]; a.flat(); // [1,2,3] a.flat(1); //[1,2,3] flat(depth) 方法中的参数depth,代表展开嵌套数组的深度 阅读全文
posted @ 2021-03-31 10:54
seekHelp
阅读(176)
评论(0)
推荐(0)

浙公网安备 33010602011771号