自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 react的css变量修改换肤

css变量换肤

2022-07-22 16:08:48 583 1

原创 react的umi配置项目的全局颜色

react的umi配置项目的全局颜色

2022-07-22 13:22:43 1423

原创 css的position:sticky吸顶功能的兼容性

吸顶功能的兼容性

2022-06-10 16:28:41 1195 1

原创 > git push Unable to negotiate with 118.31.165.50 port 22: no match

Unable to negotiate with 118.31.165.50 port 22: no matching host key type found. Their offer: ssh-rsafatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.

2022-06-10 09:50:15 197

原创 git仓库路径修改

git仓库路径修改

2022-06-09 17:02:03 1209

原创 react的umi路由鉴权

wrappers是umi中用于路由鉴权的路由中设置export default { routes: [ { path: '/user', component: 'user', wrappers: [ '@/wrappers/auth', ], }, { path: '/login', component: 'login' }, ]}然后然后在 src/wrappers/auth 中,export default

2022-05-18 13:46:54 1169 1

原创 react的打包后项目运行

1.首先需要安装node2.使用npm命令行来安装serve npm install -g serve3. 安装完成后,使用 serve -s .\dist 进入文件文件目录就可以了

2022-05-10 10:49:47 574

原创 react的函数式组件的路由跳转不自动到顶部解决

再layout组件中添加 //解决页面不自动跳转顶部 useEffect(() => { if (document && history?.location?.pathname != '/home') { // 可以排除不需要置顶的页面 if (document?.documentElement || document?.body) { document.documentElement.scrollTop = do...

2022-04-20 20:01:35 860

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除