会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
生命在于折腾Up
博客园
首页
新随笔
联系
订阅
管理
2025年4月25日
使用vueuse,实现横向滚动加载更多
摘要: 横向无限滚动,在距离最右侧100px,开始加载数据 HTML <ul v-scroll="handleScrollRight" class="list" > <li v-for="(item, index) in data" :key="index" class="item" @click.stop
阅读全文
posted @ 2025-04-25 17:30 生命在于折腾Up
阅读(65)
评论(0)
推荐(0)
2025年3月5日
安卓使用企业微信分享到微信,微信页面空白
摘要: 分享的page需要增加 .html,如小程序地址为:pages/home/index,则需要将分享的地址改为 pages/home/index.html
阅读全文
posted @ 2025-03-05 17:28 生命在于折腾Up
阅读(23)
评论(0)
推荐(0)
2025年3月3日
windows11使用命令行删除文件夹
摘要: 是否遇到登录账户是管理员,但是仍然提示需要管理员才能删除文件夹,使用windos11自带的命令行工具可以解决。 搜索终端,右键,使用管理员运行 复制要删除文件夹的路径比如,要删除桌面的 test-del 文件夹 执行命令 rmdir 路径 文件夹内容多,可能提示,按Y就删除了
阅读全文
posted @ 2025-03-03 17:04 生命在于折腾Up
阅读(124)
评论(0)
推荐(0)
2024年4月10日
forin循环对象,ts报错
摘要: 当你在TypeScript中使用 for...in 循环遍历一个对象时,你可能会碰到这样的类型错误,这是因为 TypeScript 静态类型检查的规则,需要明确的知道你正在访问的对象属性的类型。 对于这种情况,你可以使用类型断言(Type Assertion)来明确你所知道的更具体的类型 // 假设
阅读全文
posted @ 2024-04-10 16:56 生命在于折腾Up
阅读(529)
评论(0)
推荐(0)
2024年1月9日
Mac安装mysql问题之-bash: mysql: command not found
摘要: 在Mac上安装好之后,在系统偏好设置里找到mysql,点击并选择启动mysql; 打开终端面板,输入:mysql -u root -p 问题来了,因为之后显示的是:-bash: mysql: command not found (这是什么意思?怎么办?怎么办?多幸运你看到这篇文章了,不用像我一样花很
阅读全文
posted @ 2024-01-09 00:43 生命在于折腾Up
阅读(264)
评论(0)
推荐(0)
2023年12月19日
判断微信小程序环境
摘要: if (typeof __wxConfig == "object"){ let version = __wxConfig.envVersion; console.log("当前环境:" + version) if (version == "develop"){ //工具或者真机 开发环境 } els
阅读全文
posted @ 2023-12-19 17:53 生命在于折腾Up
阅读(74)
评论(0)
推荐(0)
2023年10月18日
van-circle 在苹果某些机型上被裁切
摘要: 在 postcssPxToViewport 配置中加上 propList postcssPxToViewport({ propList: ['*', '!transform-origin'] })
阅读全文
posted @ 2023-10-18 17:20 生命在于折腾Up
阅读(44)
评论(0)
推荐(0)
2023年10月17日
swiper 抖动问题
摘要: 加上一下两个属性 :observer="true" :observer-parents="true"
阅读全文
posted @ 2023-10-17 14:12 生命在于折腾Up
阅读(90)
评论(0)
推荐(0)
2023年6月26日
安装 scoop 报错"Running the installer as administrator is disabled by default, see https://github.com/ScoopInstaller/Install#for-admin"
摘要: 运行以下命令 iex "& {$(irm get.scoop.sh)} -RunAsAdmin"
阅读全文
posted @ 2023-06-26 10:59 生命在于折腾Up
阅读(2371)
评论(0)
推荐(2)
2023年5月17日
js 查找数组中倒数第二最大值
摘要: const arr = [1, 5, 3, 7, 9, 21, 33, 18, 12, 44, 43, 22, 55, 66, 65] const result = arr => { // 存储最小值 let minMax = 0 // 存储最大值 let max = 0 arr.forEach(i
阅读全文
posted @ 2023-05-17 14:11 生命在于折腾Up
阅读(74)
评论(0)
推荐(0)
下一页
公告