自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 通过css缩放设置页面自适应

//比例缩放 getScale() { const { width, height } = { width: 1920, height: 1080 }; let ww = window.innerWidth / width; let wh = window.innerHeight / height; return { scaleW: ww, scaleH: wh }; } setScale(elem) { // 获..

2022-04-26 11:57:15 1846

原创 antd-vue中table用法心得

const columns = [ { title: '等级', dataIndex: 'degree', key: 'degree', scopedSlots: { customRender: 'degree' }, }, { title: '告警名称', dataIndex: '...

2019-10-08 14:46:20 834

转载 vue-cli3.5.5集成hikvision时在ie浏览器显示时遇到页面空白的问题

原因是在引入webVideoCtrl.js的时候vue不支持里面的写法,所以需要忽略vue对webVideoCtrl.js具体操作如下:在 babel.config.js的module.exports下加入 ignore: [“./src/static/webVideoCtrl.js”]重新启动之后就可以正常访问了...

2019-05-08 16:46:45 470

转载 记录使用springboot jpa的一次异常(java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä')

1.控制台会输出以下标红的信息Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of ...

2019-04-28 17:02:38 345

转载 记录搭建spring cloud的第一个异常(com.netflix.discovery.shared.transport.TransportException)

这是由于eureka的版本过高,并且在pom文件引入了security,然后eureka高版本默认开启csrf保护,因此我们需要在eureka服务端关闭csrf校验,具体操作如下:1.在eureka服务端新建一个类;2.然后加上以下代码即可:@EnableWebSecuritypublic class WebSecurityConfig extends WebSecurityConfigu...

2019-01-30 15:10:41 2486

转载 记录遇到的第二次异常java.lang.IllegalArgumentException

异常情况异常原因SpringMvc使用@ResponseBody会自动把数据封装成json格式,但是需要手动添加依赖解决办法1.maven添加:<dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</art...

2019-01-30 15:10:27 376

空空如也

空空如也

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

TA关注的人

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