自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 vue集成spreadjs

vue集成spreadjs先使用npm安装spreadjs插件然后在页面引用直接上代码效果图先使用npm安装spreadjs插件"@grapecity/spread-excelio": "^14.0.10","@grapecity/spread-sheets": "^14.0.10","@grapecity/spread-sheets-barcode": "^14.0.10","@grapecity/spread-sheets-charts": "^14.0.10","@grapecity/sp

2021-04-12 21:14:47 3013 4

转载 接收PUT、PATCH、DELETE方法的form data参数原

接收PUT、PATCH、DELETE方法的form data参数原问题描述:场景:在将原有的系统改造为springboot项目时,打算将原有的get、post请求改为get、post、put、delete请求,使用了mybatis-plus的自动生成基础代码。问题:但是,在使用@PutMapping时,后端接收不到传递过来的参数。查找解决方案:HttpPutFormContentFilter 类在网上搜索之后发现,有一个 HttpPutFormContentFilter 类,可以解决这个问

2020-05-11 19:34:00 914

原创 getReader()/getInputStream() has already been called for this request

getReader()/getInputStream() has already been called for this request项目中需要在filter对request中body中的数据进行处理,发现了这个问题getRead() has already been called for this request/getInputStream() has already been called for this request根本原因是request中的getRead() 和 getInput

2020-05-11 19:24:05 522

原创 this.$store.state/this.$store.comit/this.$store.dispatch不能在箭头函数中使用

this.$store.state/this.$store.comit/this.$store.dispatch不能在箭头函数中使用this指代不明确vue中methods里面别用箭头函数,this指代不明确

2020-03-23 14:07:02 1172 1

原创 vue.js-class样式绑定中对象语法跟数组语法可以混合使用

Vue 测试 ![运行结果](https://img-blog.csdnimg.cn/20200318161612376.png)

2020-03-18 16:23:19 296

原创 解决ie9不兼容Element.classList

通过Element.prototype扩展DOM元素,在Element.prototype中加上classList属性(function () {if (typeof window.Element === “undefined” || “classList” in document.documentElement) return;var prototype = Array.prototype...

2020-02-26 14:37:34 354

原创 关注ie浏览器对于iview-admin兼容性处理

解决方案:安装 “babel-loader”作用:babel-loader,用来处理ES6语法,将其编译为浏览器可以执行的js语法1.安装依赖npm install -D babel-loader @babel/core @babel/preset-env webpack2.在vue.config.js 配置webpackmodule.exports = {       //…   ...

2020-02-26 09:29:45 321

原创 office文件在线预览(openoffice)

具体思路:将office办公文件通过opeoffice转成pdf格式,然后通过输入输出流发送到前端 <!-- https://mvnrepository.com/artifact/org.jodconverter/jodconverter-core --> <dependency> <groupId>org.jodconverter</group...

2020-02-25 11:17:44 634 1

原创 vue项目中富文本编辑器vue-quill-editor的ie兼容性问题(ie11+)

vue-quill-editor在低于ie11下导致报错的原因,quill.js报错“无法获取未定义或 null 引用的属性“toggle”“,因此需要兼容ie9,ie10的建议更换编辑器。

2020-02-24 14:50:37 3330

空空如也

空空如也

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

TA关注的人

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