摘要: let _map = { 9: { id: 9, list: [7] }, 7: { id: 7, list: [8, 6] }, 8: { id: 8, list: [2, 0] }, 2: { id: 2, list: null }, 0: { id: 0, list: null }, 6: { 阅读全文
posted @ 2022-07-08 18:50 yewook 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 修改bin/catalina.sh UMASK="0027" 改 UMASK="0022" 重启tomcat 阅读全文
posted @ 2021-06-18 21:01 yewook 阅读(236) 评论(0) 推荐(0) 编辑
摘要: updated(){ var _this= this; //键盘弹起遮挡输入框 document.body.addEventListener('focusin', (e) =>{ var timer1 = setInterval(function() { document.body.scrollTo 阅读全文
posted @ 2021-04-26 11:09 yewook 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 下载地址:https://dev.mysql.com/downloads/mysql/ 解压 设置环境变量 根目录下没有my.ini的需要先新建编辑 [mysqld] #设置3306端口 port=3306 #设置mysql的安装目录 basedir=安装路径\mysql #设置mysql数据库的数 阅读全文
posted @ 2021-04-10 14:49 yewook 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 安装完vant和post-css-to-viewport,根目录新建postcss.config.js const path = require('path'); module.exports = ({ file }) => { const designWidth = file.dirname.in 阅读全文
posted @ 2021-03-08 16:27 yewook 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 建立联合索引后,数据库会生成一颗B+树,值是主键。 回表:从联合索引表中查询到数据后,在回到主键表查询,避免数据冗余。 CREATE TABLE `t1` ( `id` int NOT NULL, `a` int DEFAULT NULL, `b` int DEFAULT NULL, `c` int 阅读全文
posted @ 2021-03-05 15:55 yewook 阅读(1301) 评论(0) 推荐(0) 编辑
摘要: import java.time.LocalDate; import java.time.Period; import java.time.temporal.TemporalAdjusters; public class DateUtils { //日期转字符串 public static Stri 阅读全文
posted @ 2021-03-03 17:47 yewook 阅读(80) 评论(0) 推荐(0) 编辑
摘要: win64bit java汇编工具hsdis 1、下载好的.ddl文件放在$JAVA_HOME/jre/bin/server 2、运行时添加参数 -XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly 链接:https://pan.baidu.com/s/ 阅读全文
posted @ 2020-12-22 13:54 yewook 阅读(534) 评论(0) 推荐(1) 编辑
摘要: public class ThreadDemo extends Thread { @Override public void run() { for(int i = 0; i <= 5; i++) { try { System.out.println(currentThread().getName( 阅读全文
posted @ 2020-08-04 23:35 yewook 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 同一个页面多次使用同一个canvas组件,出现数据被覆盖。 解决方式: 动态传入canvas_id 阅读全文
posted @ 2020-06-22 08:51 yewook 阅读(721) 评论(0) 推荐(0) 编辑