08 2024 档案

摘要:把uniapp从Vue2版本选择到Vue3版本编译开发 改用到Vue3使用: var jweixin = require('jweixin-module') 会编译报错:require is not defined,没有require模块. 改成import的话,由于jweixin-module不支 阅读全文
posted @ 2024-08-07 15:08 那知归不归 阅读(1670) 评论(0) 推荐(0) 编辑
摘要:从gitee拉取项目出现问题:unable to access 'https://gitee.com/XXX/XXX.git/': Failed to connect to 127.0.0.1 port 解决方法: 打开git Bash 端,输入以下命令: git config --global - 阅读全文
posted @ 2024-08-02 15:48 那知归不归 阅读(142) 评论(0) 推荐(0) 编辑
摘要:1、修改注册表,位置如下: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Windows 2、设置 1、GDIProcessHandleQuota此项设置GDI句柄数量,默认值为2710(16进制)/10000(10进 阅读全文
posted @ 2024-08-01 22:26 那知归不归 阅读(442) 评论(0) 推荐(0) 编辑
摘要:在做性能测试测试时候,如果被测试的系统页面很简单,并且性能很好,这样会导致压力机得tcp链接数不够而导致如下错误: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\tcpip\Parameters\TcpTimedWaitDelay to 3 阅读全文
posted @ 2024-08-01 22:11 那知归不归 阅读(907) 评论(0) 推荐(0) 编辑
摘要:配置 publicPath 为 cdn 资源地址前缀,这样编译出来的 html 文件,引用的 js,css 路径会自动变成 cdn 上的地址。 但是经反复测试发现配置后无效最后发现需要在vite.config.ts > base 选中配置该cdn地址生效 阅读全文
posted @ 2024-08-01 09:51 那知归不归 阅读(340) 评论(0) 推荐(0) 编辑