会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
东风杨柳岸,岁月如烟
https://www.skillnull.com/
博客园
首页
新随笔
联系
管理
1
2
3
4
5
···
16
下一页
2026年1月23日
IndexedDB封装
摘要: export type INDEXEDDB_PARAMS = { db_name: string; // 数据库名称 store_name: string; // 仓库名 version?: number; // 版本 data?: any; // 存储数据 }; class IDB { prote
阅读全文
posted @ 2026-01-23 18:16 SKILL·NULL
阅读(3)
评论(0)
推荐(0)
2025年11月11日
echarts获取坐标上的点距离顶部底部高度
摘要: const height = echarts_instance.getHeight()const max_distance = (max_y - y_value) / (max_y - min_y) * height;const min_distance = (y_value - min_y) /
阅读全文
posted @ 2025-11-11 18:43 SKILL·NULL
阅读(9)
评论(0)
推荐(0)
2025年11月4日
Let`s Encrypt 生成免费自动续签 HTTPS 证书
摘要: Let`s Encrypt 是一个免费的证书授权机构(CA),其通过 ACME 协议接口自动签发数字证书,来让你省去证书过期的烦恼。 ACME客户端有很多,Let`s Encrypt 官网推荐 Certbot ,下面是具体获取免费证书的流程: 一、安装 Certbot 客户端 yum install
阅读全文
posted @ 2025-11-04 13:11 SKILL·NULL
阅读(52)
评论(0)
推荐(0)
2025年9月10日
H5滚动截取长图
摘要: 使用开源库:html2canvas<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.
阅读全文
posted @ 2025-09-10 09:59 SKILL·NULL
阅读(19)
评论(0)
推荐(0)
2025年5月12日
ReactNative常见问题及处理
摘要: 芯片:Apple M2 macOS: 13.3 react-native: 0.70.0 Xcode: 14.3.1 #### Mac IOS 常见问题> boost 问题修复将 /node_modules/react-native/third-party-podspecs/boost.podspe
阅读全文
posted @ 2025-05-12 19:22 SKILL·NULL
阅读(68)
评论(0)
推荐(0)
2025年4月23日
根据.nvmrc自动切换项目所需node版本
摘要: vi ~/.bash_profile 插入一下内容 switch_node() { local nvmrc_path="$(nvm_find_nvmrc)" if [ -n "$nvmrc_path" ]; then echo '根据.nvmrc切换node版本' nvm use fi } swit
阅读全文
posted @ 2025-04-23 19:28 SKILL·NULL
阅读(69)
评论(0)
推荐(0)
Command PhaseScriptExecution failed with a nonzero exit code
摘要: 打开 ios/.xcode.env 文件 找到 export NODE_BINARY=$(command -v node) 更改为: export NODE_BINARY=your_node_path Mac查看node路径:where node 例如: export NODE_BINARY=/Us
阅读全文
posted @ 2025-04-23 16:53 SKILL·NULL
阅读(298)
评论(0)
推荐(0)
2025年4月19日
echarts双Y轴,实现均分为包含刻度0的指定段数,同时对齐刻度
摘要: 要实现强制分为指定段数,并且对齐刻度,需要用的配置分别为yAxis的max、min、interval echarts5.3有个配置项alignTicks,在多个 y 轴为数值轴的时候,可以开启该配置项自动对齐刻度。只对'value'和'log'类型的轴有效。实际使用中,发现在双轴数据格式不同,且数值
阅读全文
posted @ 2025-04-19 09:54 SKILL·NULL
阅读(547)
评论(0)
推荐(0)
2025年1月7日
env(safe-area-inset-bottom) 兼容写法
摘要: @supports 兼容性很好,所以使用 @supports 做兼容是个不错的选择。 例: @supports (padding-bottom: env(safe-area-inset-bottom)) or (padding-bottom: constant(safe-area-inset-bot
阅读全文
posted @ 2025-01-07 18:19 SKILL·NULL
阅读(576)
评论(0)
推荐(0)
2025年1月2日
缩放实现0.5px
摘要: 一、 &::after { content: ""; position: absolute; top: -50%; bottom: -50%; left: -50%; right: -50%; border: 1px solid #e9e9e9; border-radius: 2px; -webki
阅读全文
posted @ 2025-01-02 16:26 SKILL·NULL
阅读(13)
评论(0)
推荐(0)
1
2
3
4
5
···
16
下一页
公告