摘要: 步骤 1. "博客园后台管理" 2. "设置" 3. 博客皮肤选择 4. 在“页面定制CSS代码”中插入以下CSS代码 5. 保存 CODE 阅读全文
posted @ 2018-12-12 10:15 YanjieZ 阅读(357) 评论(0) 推荐(2) 编辑
摘要: #问题 > git commit -m '***' not found: commitlint husky - commit-msg hook exited with code 127 #解决 ##方案1 安装@commitlint/cli yarn add -D @commitlint/cli # 阅读全文
posted @ 2021-10-12 11:00 YanjieZ 阅读(3798) 评论(0) 推荐(0) 编辑
摘要: #现象/ERR error An unexpected error occurred: "EPERM: operation not permitted, unlink 'C:\\work\\xxx\\node_modules\\node-sass\\vendor\\win32-x64-93\\bin 阅读全文
posted @ 2021-09-09 15:51 YanjieZ 阅读(127) 评论(0) 推荐(0) 编辑
摘要: #报错 'Icon' refers to a value, but is being used as a type here. Did you mean 'typeof Icon' #原因 在ts文件中使用了,ts中并不能使用JSX #解决 修改文件后缀为tsx 阅读全文
posted @ 2021-09-03 16:47 YanjieZ 阅读(1210) 评论(0) 推荐(0) 编辑
摘要: #antd报错 Warning: [antd: Modal] Modal.config is deprecated. Please use ConfigProvider.config instead. #原因 版本更新导致不支持,如报错内容 #解决 使用 ConfigProvider.config 阅读全文
posted @ 2021-09-01 11:49 YanjieZ 阅读(1397) 评论(0) 推荐(0) 编辑
摘要: #需求 用antd实现类似百度搜索框,带搜索的input文本输入框 #分析 antd <Select> 有自带搜索的功能,但搜索后必须选择已有筛选项,不能自定义输入 antd <Input> 没有发现有类似带搜索的功能(maybe没发现,如果有同学发现,请联系我,感谢) 可以使用: antd <Au 阅读全文
posted @ 2021-08-30 17:01 YanjieZ 阅读(947) 评论(0) 推荐(0) 编辑
摘要: #现象 umi项目启动时报错: PS C:\xxx> yarn start:dev yarn run v1.22.10 $ cross-env REACT_APP_ENV=local MOCK=none UMI_ENV=dev umi dev Bundle with webpack 5... Sta 阅读全文
posted @ 2021-08-09 13:37 YanjieZ 阅读(2436) 评论(0) 推荐(1) 编辑
摘要: HTML META 阅读全文
posted @ 2021-04-28 09:36 YanjieZ 阅读(52) 评论(0) 推荐(0) 编辑
摘要: target.select():选中target需为Input document.execCommand("copy"):复制 window.getSelection().empty():清空选中状态 input需要设readonly=true,但不能设置disabled=true /* Dart. 阅读全文
posted @ 2021-04-27 15:28 YanjieZ 阅读(123) 评论(0) 推荐(0) 编辑
摘要: -moz-user-select: none; /*火狐*/ -webkit-user-select: none; /*webkit浏览器*/ -ms-user-select: none; /*IE10*/ -khtml-user-select: none; /*早期浏览器*/ user-selec 阅读全文
posted @ 2021-01-20 13:46 YanjieZ 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 现象: 两套环境:a,b | | a | b | | | | | |android | 正常 | 正常 | |ios | 异常 | 正常 | 不执行 原因: 引入的WX JS: a环境https,b环境http,而引入的wx.js是http 结论 如果你页面启用了 ,务必引入 ://res.wx.q 阅读全文
posted @ 2019-12-25 14:50 YanjieZ 阅读(1261) 评论(0) 推荐(0) 编辑
Yanjie Z 的一些学习、踩坑、研究的记录,若有问题欢迎指正