自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 pc端下载excel表格

const blob = new Blob([res], { type: 'application/vnd.ms-excel' }) //指定Blob对象的数据类型,表示它是一个 Excel 文件。const link = document.createElement('a') // 创建一个a标签。const fileName = '运营分析-统计报表.xls.xls' //指定下载的文件名。link.style.display = 'none' // 隐藏a标签。

2023-07-13 09:41:33 83 1

转载 vue项目之webpack打包配置(基于vue/cli3.0+脚手架搭建Vue项目)

一、webpack配置1.配置vue.config.js publicPath: './', outputDir: 'dist', assetsDir:"static", indexPath:'index.html',2.配置DllPlugin提高构建和打包速度1:项目根目录新建dll.js文件const path = require('path')const webpack = require('webpack')module.exports = { entry: {

2022-05-14 11:22:32 2107

原创 数组及数组对象的去重方法(总结)

1:去重方法一利用数组的索引对应的值。let arr = [2,3,3,3,2,4,2];console.log("arr is a instance of arr ",(typeof arr));let str = "asdfasdf";console.log("str is an instance of Array",str instanceof Array);console.log("str is an instance of String ?",(typeof str) === 'st

2022-05-11 14:20:37 1151

原创 快速清空vue的form表单,用于新增和编辑同一个弹框

清空vue表单的快速方法

2022-04-19 16:36:04 5067 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除