- 博客(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
2094
原创 antd-vue中table用法心得
const columns = [ { title: '等级', dataIndex: 'degree', key: 'degree', scopedSlots: { customRender: 'degree' }, }, { title: '告警名称', dataIndex: '...
2019-10-08 14:46:20
873
转载 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
595
转载 记录使用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
395
转载 记录搭建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
2525
转载 记录遇到的第二次异常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
430
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人