- 博客(78)
- 收藏
- 关注
原创 保姆级教学 uniapp绘制二维码海报并保存至相册,真机正常展示图片二维码
保姆级教学 uniapp绘制二维码海报并保存至相册,真机正常展示图片二维码
2024-12-07 19:06:35
743
原创 ERR_PNPM_JSON_PARSE Unexpected end of JSON input while parsing empty string in...
2.执行npm cache clean --force 命令 清除缓存。3.重新执行 pnpm install。1.手动删除node_modules包。
2024-10-29 15:44:39
312
原创 ERR_PNPM_LINKING_FAILED Error: EPERM: operation not permitted, rename...
可能是由于npm版本于pnpm版本不兼容导致 可自行查找npm对应的版本。之前pnpm是8.9.2版本报错,回退到8.6.2之后就没问题了。
2024-10-25 11:00:31
684
原创 vue2 el-select赋值无效(无法选中)
点击添加明细时,el-table会新增一条数据,其中,存货原申购用途 会根据 费用承担事业部 下拉框的值改变而改变,所以每次费用承担事业部发生变化时,都需要清空存货原申购用途的值。因为adjustmentDetailList中的数据是通过点击添加明细按钮动态添加进去的,里面的数据并不和adjustmentDetailList直接绑定,所以赋值无效。使用$set方法,使得该对象为响应式对象,便可解决!
2024-10-24 15:02:22
698
原创 X [ERROR] Cannot start service: Host version “0.18.20“ does not match binary version “0.20.2“
在package.json文件中查一下,哪个依赖是0.20.2版本的,重新执行命令。执行yarn build命令是报错,意思大概是安装的依赖版本问题。目前使用的是0.18.20版本 安装的却是0.20.2版本的。
2024-09-09 18:14:22
1115
原创 The code generator has deoptimised the styling of XXX as it exceeds the max of 500kB.
解决方法:项目根目录新建babel.config.js文件。报错描述是某个文件最大值超过了500KB。
2024-07-31 17:38:56
739
原创 git报错error: cannot spawn C:\Program Files\TortoiseGit\bin\TortoiseGitPlink.exe: No such file or dire
git报错error: cannot spawn C:\Program Files\TortoiseGit\bin\TortoiseGitPlink.exe: No such file or dire
2024-07-03 14:33:52
691
1
原创 Feature flag __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ is not explicitly defined. You are running the
未明确定义功能标志__VUE_PROD_HYDRATION_ISMATCH_DETAILS__。您正在运行Vue的esm-bundler构建,它希望通过bundler配置全局注入这些编译时功能标志,以便在生产捆绑包中更好地进行树抖动。vue.config.js添加以下代码。
2024-04-17 10:13:57
4469
3
原创 postMessage跨标签页共享数据
背景:从A网页跳转到B网页,如果两个网页的协议、地址、端口只要有一个不同,基于浏览器的同源策略,这两个页面中的localStorage、sessionStorage、cookie中的数据都不能共享。
2024-04-06 13:50:08
646
原创 npm淘宝镜像过期npm ERR! request to https://registry.npm.taobao.org/vuex failed, reason: certificate has ex
解决方法 重新设置淘宝镜像源。
2024-01-24 16:35:25
1581
1
原创 Existing installation is up to date
找到Docker Desktop文件夹后,右键删除。这个报错是之前安装的docker没有删除干净。重新安装Docker!
2024-01-05 16:11:18
1890
1
原创 pip install mysqlclient报错
ERROR: Could not build wheels for mysqlclient, which is required to install pyproject.toml-based projects
2023-09-05 14:34:46
1494
原创 CSRF verification failed. Request aborted.You are seeing this message because this site requires a
CSRF verification failed. Request aborted. HelpReason given for failure: CSRF token missing or incorrect.CSRF verification failed. Request aborted.You are seeing this message because this site requires a CSRF cookie when submitting forms. This coo
2023-09-05 13:58:35
171
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人