06 2022 档案

摘要:所有关于 openssl_sign(): supplied key param cannot be coerced into a private/public key、Algorithm not allowed 等错误按照文章来一遍,基本就能解决了 GitHub 用多了,第一反应用 puttygen 阅读全文
posted @ 2022-06-27 14:25 study_php_java_C++ 阅读(617) 评论(0) 推荐(0) 编辑
摘要:今天在Linux配置完环境source之后出现了以下报错:/usr/libexec/grepconf.sh: line 5: grep 针对于在 etc下profile文档配置环境的解决办法 1.解决方法如下:输入export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/ 阅读全文
posted @ 2022-06-26 23:51 study_php_java_C++ 阅读(1858) 评论(0) 推荐(0) 编辑
摘要:写一个js (function() { 'use strict'; const mWidth = 750; // 减少dom操作 const doc = document.documentElement; function resize(){ // 获取dom文档宽 const deviceWidt 阅读全文
posted @ 2022-06-23 13:37 study_php_java_C++ 阅读(20) 评论(0) 推荐(0) 编辑
摘要:解决方案(任选一种): 1. div设置 font-size:0; 2. img设置 display:block; 3. div设置 display:flex; 4. img设置 vertical-align: middle; 原因:The white space displayed below i 阅读全文
posted @ 2022-06-22 14:00 study_php_java_C++ 阅读(332) 评论(0) 推荐(0) 编辑
摘要:查询表的注释 SELECT table_name, table_comment FROM information_schema.tables WHERE table_schema = 'schema_name' AND table_name = 'table_name'; 里面的schema_nam 阅读全文
posted @ 2022-06-21 10:38 study_php_java_C++ 阅读(546) 评论(0) 推荐(0) 编辑
摘要:<!-- 提示:如果你不想用form,你可以换成div等任何一个普通元素 --> <form class="layui-form"> <div class="layui-form-item"> <label class="layui-form-label">复选框</label> <div clas 阅读全文
posted @ 2022-06-21 10:32 study_php_java_C++ 阅读(1181) 评论(0) 推荐(0) 编辑
摘要:代码: <template> <div> <ul class="ulBox" id="ulBox"> <li class="li" :id="'id'+item" v-for="(item,index) in list" :key="index"> {{item}} </li> </ul> </di 阅读全文
posted @ 2022-06-20 13:01 study_php_java_C++ 阅读(317) 评论(0) 推荐(0) 编辑
摘要:vue生命周期钩子函数mounted,beforeDestroy offsetTop of undefined 这个错误,是因为我在mounted页面加载的时,通过addEventListener给window添加了scroll滚动事件。当页面跳转后,没有自动销毁scroll的监听事件,所以会报错, 阅读全文
posted @ 2022-06-20 11:50 study_php_java_C++ 阅读(167) 评论(0) 推荐(0) 编辑
摘要:不同浏览器中,有的能识别document.body.scrollTop,有的能识别document.documentElement.scrollTop 根据document.body.scrollTop与document.documentElement.scrollTop两者有个特点,就是同时只会有 阅读全文
posted @ 2022-06-20 10:50 study_php_java_C++ 阅读(228) 评论(0) 推荐(0) 编辑
摘要:package-lock.json不应该添加.gitignore.相反,我强烈建议 您应该将您添加package-lock.json到版本控制存储库. 我还强烈建议使用npm ci而不是npm install在构建应用程序时,工作流程需要存在ci.(npm install -g npm命令的最大缺点 阅读全文
posted @ 2022-06-16 13:01 study_php_java_C++ 阅读(681) 评论(0) 推荐(0) 编辑
摘要:1.安装淘宝镜像 即 npm转cnpm 防止npm安装过慢 npm install -g cnpm --registry=https://registry.npm.taobao.org 2.安装指定版本 cnpm install npm@6.14.17 -g 3.确认是否安装成功 打开命令行,然后输 阅读全文
posted @ 2022-06-16 12:34 study_php_java_C++ 阅读(5306) 评论(0) 推荐(0) 编辑
摘要:检查防火墙(centos7) 查看防火墙状态 firewall-cmd --state running代表正在运行停止命令 systemctl stop firewalld.service not running 没运行启动命令 systemctl start firewalld.service 重 阅读全文
posted @ 2022-06-15 10:15 study_php_java_C++ 阅读(1024) 评论(0) 推荐(1) 编辑
摘要:遇到一个问题:解压20M的文件需要2个小时 这样配置可以解决大部分问题: 首先,在电脑上打开WinRAR压缩软件,在设置界面的菜单栏里,点击“选项”菜单,选择“设置”按钮 然后,在弹出设置界面中,我们只需要设置“路径”和“综合”(或集成)选项这两项 这样设置即可 阅读全文
posted @ 2022-06-10 16:10 study_php_java_C++ 阅读(1546) 评论(0) 推荐(0) 编辑
摘要:我无法在Java 11中使用@PostConstruct和@PostDestroy 我在项目中使用@PostConstruct和@PostDestroy注释时遇到问题。我不能使用这些注释,尽管我导入了Java的注释,但这些注释似乎并不存在请注意, @PostConstruct和@PreDestroy 阅读全文
posted @ 2022-06-02 18:18 study_php_java_C++ 阅读(300) 评论(0) 推荐(0) 编辑
摘要:可能修改1: 查询语句使用concat login_name LIKE CONCAT('%',#{loginName},'%') 可能修改2:数据库url加上编码方式characterEncoding=utf8解决问题 jdbc:mysql://localhost:3306/mydb?charact 阅读全文
posted @ 2022-06-01 10:54 study_php_java_C++ 阅读(244) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示