- 博客(72)
- 收藏
- 关注
原创 Vue2+el-table实现表格行上下滚动,表格单元格内容溢出左右滚动 TextScroll、TableWrapper
el-table 实现行滚动;单元格内容溢出左右滚动
2024-11-26 10:47:03
1333
原创 Tomcat UrlRewriteFilter 部署项目虚拟路径配置,路由重写,可参考配置部署前端控制路由项目(Vue,React 等)
Tomcat UrlRewriteFilter 部署项目虚拟路径配置,路由重写,可参考配置部署前端控制路由项目(Vue,React等)
2024-10-30 16:38:14
1357
原创 在 Spring MVC 中部署路由为history模式的vue项目
为了处理 Vue.js 的 History 模式,需要在 Spring MVC 中配置一个控制器来转发所有的非 API 请求到 index.html。这样,前端路由可以接管 URL 并正确显示 Vue.js 组件。在这个控制器中,/**/{path:[^\.]*} 是一个路径匹配模式,它匹配所有的路径(不包含点 ., 因为点通常用于文件扩展名)。这确保了 Vue.js 的 History 模式可以正确处理路由。
2024-09-06 16:08:14
616
原创 nvm install 16.15.0 : The process cannot access the file because it is being used by another process
nvm install 16.15.0 : The process cannot access the file because it is being used by another process
2024-05-21 19:36:19
1399
1
原创 Git 配置处理客户端无法正常访问到 github 原网站时,npm 下载依赖包失败的问题
【代码】Git 配置处理客户端无法正常访问到 github 原网站时,npm 下载依赖包失败的问题。
2024-03-01 13:55:36
400
原创 Uncaught (in promise) TypeError: Invalid attempt to destructure non-iterable instance
Uncaught (in promise) TypeError: Invalid attempt to destructure non-iterable instance
2024-01-30 18:00:13
3572
原创 JavaScript 示例: jsencrypt 私钥 16位密码短语 + cryptojs AES加解密
'{"isHeavyNet":"","linkUsage":"","telephoneNum":"138****7650","licenseOwner":"贾*贵","idNumber":"","orderTempSource":""}'// 以下秘钥通过第一步获取的 privateKey,作为JSEncrypt实例的私有秘钥,之后加密一个16位的字符串(1234567890123456)获得。// 通过第一步获取的“私有秘钥”对第二步获取的密码短语“秘钥”进行解密,得到密码短语明文(16位的字符串)
2024-01-20 17:00:57
1440
原创 调用 layer.open 方法时,没有弹框动作;layer.open 不弹框
1. 确认是否有逻辑报错;2. 依赖包是否引入成功或正确;3. 调用 layer.open 入参的元素id设置不能与html文档内其他元素 id 设置重复。
2023-03-09 09:38:54
969
原创 Vue 动态路由接口数据结构化为符合VueRouter的声明结构及菜单导航结构、动态路由懒加载方法
* 项目打包代码实现按需分割* 路由懒加载按需打包,排除引入子组件的冗余打包(仅处理打包冗余现象,不影响生产部署)* 解决路由懒加载 `import` 方法内引入变量报错问题
2023-02-22 11:14:26
1160
原创 NVM 设置“全局(default)”node 版本,使新打开的终端(shell)为指定的node版本
NVM 要设置在任何新shell中使用的默认节点版本,请使用别名“default”(NVM To set a default Node version to be used in any new shell, use the alias ‘default’)
2023-02-04 11:54:39
13280
原创 Server at 0.0.0.0:27017 reports maximum wire version 5, but this version of the Node.js Driver
Server at 0.0.0.0:27017 reports maximum wire version 5, but this version of the Node.js Driver requires at least 6 (MongoDB 3.6)
2023-02-02 17:02:40
2917
原创 JavaScript JS 随机rgb颜色
randColor() // 'rgb(96, 156, 217)'randColor() // 'rgb(148, 143, 221)'randColor() // 'rgb(71, 212, 206)'
2022-12-10 12:21:01
484
原创 Vue-cli、devServer + http-proxy + 测试服务 + easy-mock 实现开发环境接口“负载”
Vue-cli、devServer + http-proxy + 测试服务 + easy-mock 实现开发环境接口“负载”。 http-proxy 代理应用;测试服务404或500时转发到Mock服务;http-proxy POST 请求失败,浏览器 pending,终端报错 Err:socket hang up;devServer.proxy 高级配置;Vue-cli 终端日志特色打印。
2022-11-16 00:37:49
810
原创 支持移动端(rem),PC端,CSS SVG 实现成功动画、打勾动画、对号动画
支持移动端(rem),PC端,CSS SVG 实现成功动画、打勾动画、对号动画
2022-10-12 14:58:00
1137
原创 使用 vscode 编辑html后缀但包含jsp、django、erb、php模板标签时,配置实现正确格式化文档
使用 vscode 编辑html后缀但包含jsp、django、erb、php模板标签时,配置实现正确格式化文档
2022-09-09 11:18:13
1949
原创 我没做任何操作
All your data is a backed up. You must pay 0.04 BTC to 1BbompGz4bzKF57PNDxfkH5tpxWz2gA6Y 48 hours for recover it. After 48 hours expiration we will leaked and exposed all your data. In case of refusal to pay, we will contact the General Data Protection Reg
2022-08-29 14:29:48
1079
原创 Nginx 无法正确加载静态文件,静态文件加载404或者为html;Nginx 配置访问指定url路径项目部署;
1.在nginx location 定义指定url段时,加载不到页面,例如:访问一级目录为 /mypage 并且 二级目录可以是任意非空值时/mypage/xxxxx,由于部署目录实际不存在 /mypage/xxxx,因此访问返回 404问题;2.页面中使用相对路径引用静态文件时,使用指定url段访问页面,不能正确加载到静态文件,例如:访问一二级目录构成的url/mypage/special时,假如html中有一个静态文件引入路径为./style.css,那么在实际访问页面时加载的静态路径为http://
2022-08-07 12:23:15
8176
原创 ‘vue-cli-service‘ 不是内部或外部命令,也不是可运行的程序
'vue-cli-service' 不是内部或外部命令,也不是可运行的程序
2022-06-22 13:16:06
4927
1
原创 Nginx [error] 34948#38560: *6 upstream sent invalid chunked response while reading response
1.logs/error.log: `upstream sent invalid chunked response while reading response header from upstream`2.浏览器访问控制台提示错误:`Failed to load resource: net::ERR_EMPTY_RESPONSE`3.Postman 测试报错:`Could not get response Error: socket hang up`4.get、post请求都有响应,但put方法
2022-06-17 16:04:26
1214
原创 ajax 前端下载Excel文件,下载成功但是内容全部为乱码
jQuery.ajax 请求jQuery 相关问题涉及版本jQuery 中文官方文档jQuery githubjQuery >=v1.5.1 支持 xhrFields 设置。jQuery >=v2.2.0 支持responseType数据类型为binary时返回,不再抛出异常。(Ajax: Don’t throw exceptions on binary data response)......
2022-06-03 22:35:03
3649
1
原创 CentOS6.5 yum源无法使用问题 [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found“
CentOS6.5替换yun源及yum源无法使用问题 [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
2022-06-03 00:28:03
1631
原创 Ruoyi 若依项目模板创建多级菜单加载失败问题处理以及路由懒加载失败时将组件更换为notfound
Ruoyi 若依项目模板创建多级菜单加载失败问题处理以及路由懒加载失败时将组件更换为notfound/* 遍历后台传来的路由字符串,转换为组件对象 */function filterAsyncRouter(asyncRouterMap, isRewrite = false/* 是否重写服务端数据结构 */) { return asyncRouterMap.filter(route => { if (isRewrite && route.children) {
2022-05-23 00:32:46
2747
原创 Tomcat部署报错:org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[/**]
17-May-2022 17:36:34.786 信息 [main] org.apache.catalina.core.StandardEngine.startInternal 正在启动 Servlet 引擎:[Apache Tomcat/8.5.78]17-May-2022 17:36:34.811 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory 把web 应用程序部署到目录 [/usr/
2022-05-17 20:50:58
10424
4
原创 脚本重启 不重启autojs 事件“累积(重复)”监听问题
脚本重启 不重启autojs 事件累积(重复)监听问题问题复现以及处理/* 事件注册 */function callbackToast(toast) { console.log("111") if (className("android.widget.ImageView").id("error").findOnce()) { log("Toast内容:" + toast.getText() + " 包名:" + toast.getPackageName()) }}// 问
2022-03-12 17:58:46
2040
原创 autojs 运行脚本提示 错误:129 java.lang.RuntimeException: 129
autojs 运行脚本提示 错误:129 java.lang.RuntimeException: 129报错日志11:50:40.506/V: 开始运行[[remote]tt.js]11:50:40.526/E: 129java.lang.RuntimeException: 129 at org.mozilla.javascript.CodeGenerator.badTree(CodeGenerator.java:229) at org.mozilla.javascript.CodeGen
2022-03-02 11:56:49
2615
3
原创 Auto.js Run ReferenceError: “activity“ is not defined. (file:///android_asset/modules/__ui__.js#98)
Auto.js Run ReferenceError: "activity" is not defined. (file:///android_asset/modules/__ui__.js#98)报错信息10:16:27.901/E: ReferenceError: "activity" is not defined. (file:///android_asset/modules/__ui__.js#98)ReferenceError: "activity" is not defined.
2022-02-12 10:33:14
3419
2
原创 chosen.jquery.js 、chosen-select 源码修改控制 chosen:updated 方法动态更新下拉框选项不更新搜索框值 ,chosen 实现远程搜索加载下拉选项
chosen.jquery.js 、chosen-select 源码修改控制 chosen:updated 方法动态更新下拉框选项不更新搜索框值,chosen 实现远程搜索加载下拉选项chosen.jquery.js 修改后源码源码中新增了 clear_search 属性,控制chosen:updated 方法动态更新下拉框选项不更新搜索框值/*!Chosen, a Select Box Enhancer for jQuery and Prototypeby Patrick Filler fo
2021-12-22 17:16:59
1825
原创 Gitee Layui 组件库镜像文档 https://lh_yun.gitee.io/layui/www.layui.com/index.html
Gitee Layui 组件库镜像文档https://lh_yun.gitee.io/layui/www.layui.com/index.html镜像站@Layui文档
2021-11-22 21:55:30
920
原创 visual studio code、Vscode IDE 国内镜像下载
visual studio code、Vscode IDE 国内镜像下载第一步打开软件下载页面跳转到下载链接(win64、Mac)点击 direct download link 跳转到下载链接,稍等片刻,地址栏会出现以下链接https://az764295.vo.msecnd.net/stable/6cba118ac49a1b88332f312a8f67186f7f3c1643/VSCodeUserSetup-x64-1.61.2.exe将主机 az764295.vo.msecnd.net 更
2021-11-03 11:28:04
2083
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人