随笔 - 50  文章 - 0  评论 - 1  阅读 - 86920
07 2023 档案
js rgba颜色转换
摘要:// hex转rgba第一种 const hex2Rgb = (hexValue, alpha = 1) => { const rgx = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; const hex = hexValue.replace(rgx, (m, r, g, 阅读全文
posted @ 2023-07-21 10:04 写最骚的代码 阅读(1081) 评论(0) 推荐(0) 编辑
npm yarn 淘宝镜像命令设置
摘要:一、Yarn 设置淘宝镜像 1.查询当前配置的镜像 yarn config get registry // 默认:https://registry.yarnpkg.com 2.设置成淘宝镜像 yarn config set registry http://registry.npm.taobao.or 阅读全文
posted @ 2023-07-13 13:15 写最骚的代码 阅读(836) 评论(0) 推荐(0) 编辑
vue+axios+ts封装
摘要:1.结构目录 2.新建request目录 type.ts import type { AxiosRequestConfig, AxiosResponse } from 'axios'; // 拦截器的类型 export interface InRequestInterceptors<T = Axio 阅读全文
posted @ 2023-07-03 16:51 写最骚的代码 阅读(766) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示