- 博客(110)
- 收藏
- 关注
原创 vue2中,打包报错ERROR in /node_modlules/@types/lodash/common/common.d.ts 26
vue2中,打包报错ERROR in /node_modlules/@types/lodash/common/common.d.ts 26
2025-02-24 18:58:31
428
原创 Vue3 + vite 打包后查看资源占比
Vue3 + vite 打包后查看资源占比,用 rollup-plugin-visualizer --save-dev插件来进行打包体积大小的分析
2025-02-24 18:49:31
283
原创 JS Map数据结构的使用JSON.stringify 和 JSON.parse
JS Map数据结构的使用JSON.stringify 和 JSON.parse
2024-12-18 17:11:06
160
原创 uniapp 使用uni.getRecorderManager录音,wav格式采样率低于44100,音频播放不了问题解决
uniapp 使用uni.getRecorderManager录音,wav格式采样率低于44100,音频播放不了问题解决
2024-10-30 20:03:21
1268
原创 git报错:“gittag“失败,错误代码128:fatal:bad config line 1 in file C:/Users/SDKJ/.gitconfig
git报错:"gittag"失败,错误代码128:fatal:bad config line 1 in file C:/Users/SDKJ/.gitconfig
2024-10-30 19:45:25
408
原创 vue2 vue-print-nb使用,以及使用vue-print-nb打印会多一张空白页问题解决
vue2 vue-print-nb使用,以及使用vue-print-nb打印会多一张空白页问题解决
2024-08-04 18:34:19
665
原创 小程序API wx.startLocationUpdateBackground 的使用
小程序API wx.startLocationUpdateBackground 的使用
2024-04-28 17:25:11
2201
原创 ts报错属性“MozWebSocket”在类型“Window & typeof globalThis”上不存在。你是否指的是“WebSocket”?
ts报错属性“MozWebSocket”在类型“Window & typeof globalThis”上不存在。你是否指的是“WebSocket”?
2024-02-28 11:16:30
553
原创 vue-cli 模式与环境变量之自定义.evn环境文件
如果文件内部不包含 NODE_ENV 变量,它的值将取决于模式,例如,在 production 模式下被设置为 "production",在 test 模式下被设置为 "test",默认则是 "development"。
2024-02-28 11:09:17
789
原创 问题解决:使用el-upload组件获取File文件,不需要文件上传,action为空会请求本地路径报404
问题解决:使用el-upload组件获取File文件,不需要文件上传,action为空会请求本地路径报404可以自定义上传方法、覆盖默认的上传行为主要是这个属性 `:http-request="uploadFn"`
2024-01-26 17:41:45
1674
原创 axios请求,传file格式的数据以及其他参数,传参data默认转为json格式数据问题解决
Axios 的 POST 请求默认是以 JSON 格式传递参数的。Axios 默认使用 application/json 作为请求头的Content-Type,并将数据转换为 JSON 格式发送。> 如果你想使用其他数据格式传递参数,比如application/x-www-form-urlencoded 或multipart/form-data,你需要进行相应的配置。设置请求头 hesders 里面的 Content-Type。
2024-01-25 18:22:48
1144
原创 使用day.js库的方法获取上周、本周、下周、上月、本月、下月、本年,的时间范围
使用day.js库的方法获取上周、本周、下周、上月、本月、下月、本年,的时间范围
2024-01-19 17:11:34
4367
原创 npm run build时提示vue/types/jsx.d.ts中的错误
npm run build时提示vue/types/jsx.d.ts中的错误
2023-12-11 17:02:53
810
原创 vue2打包失败lodash报错ERROR in /node_modules/@types/lodash/common/common.d.ts (9,86): ‘(‘ expected.
vue2打包失败lodash报错ERROR in /node_modules/@types/lodash/common/common.d.ts (9,86): '(' expected.
2023-12-11 16:53:49
1778
原创 uview一些使用的记录
解决:this.$refs.uForm.validate()终验之前自己再调用一次异步方法自己判断是否可以通过。refs.uForm.validate()会通过。问题:同步的校验不通过,最终的this.但异步校验的报异常不通过,
2023-12-11 16:43:24
196
原创 vue项目node-sass^4.14.1 python gyp 报错解决办法
vue项目node-sass^4.14.1 python gyp 报错解决办法
2023-12-02 21:43:27
316
原创 运行项目报错Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupporte
运行项目报错Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupporte
2023-11-26 23:40:24
94
原创 vue项目npm install报错Failed at the fibersa4.0.3 install script
vue项目npm install报错Failed at the fibersa4.0.3 install script
2023-11-26 23:35:14
679
原创 vue实现对话框指定某个对话内容的滚动到指定位置(滚动到可视区域的中间位置)
vue实现对话框指定某个对话内容的滚动到指定位置(滚动到可视区域的中间位置)
2023-11-26 16:24:13
695
原创 使用el-scrollbar实现定位滚动,以及el-scrollbar去掉横向滚动条
使用el-scrollbar实现定位滚动,以及el-scrollbar去掉横向滚动条
2023-11-26 15:01:54
1147
原创 unplugin-vue-components和unplugin-auto-import插件
unplugin-vue-components和unplugin-auto-import插件
2023-10-03 19:46:12
945
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人