加载中
gitee 开源项目也可以申请免费 JetBrains 全家桶 license 

最近发现idea 注册码到期了,遂决定申请免费的JetBrains 全家桶 license 条件:有一个开源的项目,三个月内有更新。我们的项目是 https://gitee.com/lele-666/V-IM 申请页面:https://www.j...

element plus 向下合并首列单元格的时候,全选选中的是整个表格的所有行。

全选时候选中的并不是两行,其实是右边的所有行,导致取消单个行的时候,如果这两行取消来,其实选择的行还有其他的行。 解决方案,给合并后的不展示的单元格加上 @selectable="selectable"...

2022/05/15 15:39
885
微信小程序 canvas 渲染图片几个坑

1. 要使用 uni.getImageInfo({ src: '图片地址', success: function(image) { console.log(image); ctx0.drawImage(image.path, start, 0, height, height); ctx0.draw(); } }); 2. 小程序 ...

2021/02/25 17:06
428
vue-cli 开发 vue + electron 项目(1) 之 V-IM 开发环境搭建

需要购买的阿里云的同学 请点击支持 阿里云优惠券2000元 准备 1. 下载 node (node-v12.16.1-x64) yarn (yarn-1.22.4),如果原先已经安装则忽略,如果已经安装过低版本的node,请记得清理安装...

输入npm install 报错node-sass@4.13.0 postinstall:`node scripts/build.js` Failed at the node-sass@4.13.0

npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass

2020/04/08 13:41
5.3K
t-io 出现:本次解码失败, 已经连续1次解码失败,参与解码的数据长度共157字节

tio.websocket.ssl.enabled=true tio.websocket.ssl.key-store=classpath:xxx.cn.pfx tio.websocket.ssl.password=xxx tio.websocket.ssl.trust-store=classpath:xxx.cn.pfx 是因为最后一行没...

2020/04/03 23:41
4.3K
oauth2 根据token 获取user

/** * 根据token 获取 user * @param token token * @return 结果 */ private User getByToken(String token){ OAuth2Authentication auth2Authentication = defaultTokenServices.loadAuth...

2020/02/17 11:25
1.1K
sharding-jdbc 中使用了 position 作为表的字段名,造成不能切分

sharding-jdbc 中使用了 position 作为表的字段名,造成不能切分

2019/11/28 21:23
342
oauth2.0 前端并发刷新问题解决方案。

/** * 测试的函数,故意让第一次请求失效,正式使用的时候 请去掉 * @type {number} */ let i = 0; class RequestUtils { constructor() { this.instance = null; this.isRefr......

2019/06/04 16:18
1.1K
redis 安装填坑记录

#### 安装 > $ wget http://download.redis.io/releases/redis-5.0.3.tar.gz<br> > $ tar xzf redis-5.0.3.tar.gz<br> > $ cd redis-5.0.3<br> > $ make #### 启动 > $ src/redis-server red...

2019/01/10 15:48
175
springboot oauth2 fetch 关于跨域请求的问题

客户端使用 fetch 发送 ajax 请求,一直出现401错误,一直认为是服务器端跨域设置问题,后来发现是客户端发送参数不对, 此方式不对,一直返回401 fetch('http://localhost:8080/oauth/toke...

2018/11/08 16:46
526
springboot oauth2 跨域设置

@Override public void configure(HttpSecurity http) throws Exception { http .authorizeRequests() .antMatchers("/security/**") .authenticated() /......

2018/09/20 19:44
1.6K
axios 跨域 sessionid 每次访问不一致的问题

百度一晚上,都是说要设置 axios.defaults.withCredentials=true; 然后在controller 上加上 @CrossOrigin(origins = "http://localhost:9080", maxAge = 3600) 其实根本不好用,还少一个参数...

2018/08/19 21:58
1.2W
electron 拖动会影响子元素的事件,使得事件不能响应

样式 style="-webkit-app-region: drag" 会影响子元素的事件,使得事件不能响应 解决方案,子元素上加上 -webkit-app-region: no-drag;...

2018/08/06 21:41
676
quartz 使用 PostgreSQL抛错“不良的类型值: long : \x

在quartz PostgreSQL 的建表语句中找的如下内容,加到 quartz.properties -- In your Quartz properties file, you'll need to set -- org.quartz.jobStore.driverDelegateClass = org.quart...

2018/07/26 13:17
6.1K
electron-vue 打包出错问题

使用npm install 下载的包就不行 然后执行 npm run build 出错!(研究两天都不行,使用 yarn 一次搞定) 推荐 yarn 下载依赖 然后 yarn run build 打包成功 mark 打包时候,项目路径里面不能...

2018/02/04 22:44
1.3K
doc4j 转 html 乱码问题

由于需要对 结果进行处理,所以返回字符串,使用 ByteArrayOutputStream baos = new ByteArrayOutputStream(); String result = baos.toString(); 结果乱码 然后使用如下方式 byte[] lens = ...

2018/01/21 20:54
721
scss 在webpack 编码问题

@charset "UTF-8"; 加载 .scss 最前面就行了

2018/01/07 13:11
370
webpack 打包vue,组件不显示

const path = require('path'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const config = { entry: './main', //入口文件 output: { //node.js中...

2018/01/06 16:32
3.9K
vue 2.0 第一个坑,组件不显示的问题

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>app-component</title> </head> <body> <ol> <todo-item></todo-item> </ol> <script src="https://cd...

2018/01/06 16:29
2K

没有更多内容

加载失败,请刷新页面

返回顶部
顶部