bugfix
吃一堑,长一智。
有生之年~
hello, world!
展开
-
bug: mac curl 命令 报错 bad key length
.zshrc 文件 添加一行:export CURL_SSL_BACKEND="secure-transport"然后 source ~/.zshrc 就可以了原创 2022-03-09 17:58:42 · 193 阅读 · 0 评论 -
[macos - git commit] wasm code commit Allocation failed - process out of memory
1、把nodejs 从 v14.x 升级到 v15.x2、重装项目下的node_modules(据说是macbook pro m1 芯片 Xnodejs 14.x的问题 )原创 2021-12-22 17:49:37 · 524 阅读 · 1 评论 -
[bugfix] windows个性化设置缩放,table的border异常
有bug的写法❌table { border-collapse: collapse;}table tr td { border-bottom: 1px solid #000;}无bug写法✅table { border-collapse: separate; border-spacing: 0;}table tr td { border-bottom: 1px solid #00...原创 2021-11-30 09:20:35 · 136 阅读 · 0 评论 -
angular : @ContentChildren
@ContentChildren(MyColorDirective,{descendants:true})ListOfColor:QueryList<MyColorDirective>;原创 2021-11-27 17:39:14 · 516 阅读 · 0 评论 -
[bug] html里面的文本的空格不见了
>场景有一段文本通过i8n translate后显示,比如:‘今天是个好日子 ’渲染后‘子’后面的空格没有占位,期望占位。解决:设置 white-space原创 2021-11-24 15:50:26 · 602 阅读 · 0 评论 -
error TS2339: Property ‘flat‘ does not exist on type ‘(number | number[])[ ]‘
let arr :any[]= [1,2,[3, 4]];arr.flat();angular 10 +tyescript配置如下:"target": "es2015","lib": ["es2015","dom","esnext"],为啥报错啊?原创 2021-10-29 17:16:14 · 560 阅读 · 0 评论 -
小白菜的总结大会
1、考虑 文本太长换行的情况。原创 2021-09-29 11:28:30 · 60 阅读 · 0 评论 -
flex: 布局陷阱
(一)一行里面,一部分宽度固定,一部分宽度不固定, 固定宽度的部分需要 flex-shrink: 0 (默认是1)示例:<div> <i class="icon"></i> <a>这是文本</a></div>1、div: flex i:宽度固定2、文本内容可能需要换行注意:i 需要加 flex-shrink: 0...原创 2021-09-28 13:53:18 · 70 阅读 · 0 评论 -
[bugfix] html中的 mailto 无效
<div href="mailto:111@abc.com">1111@abc.com</div>em。。。这个效果只能对 a 标签使用。。。!原创 2021-09-28 13:48:12 · 382 阅读 · 0 评论 -
angular : An unhandled exception occurred: listen EADDRNOTAVAIL: address not available 11.xx.xx.22
因为:锁屏后 ip 变了。。。。。原创 2021-09-24 10:10:25 · 775 阅读 · 0 评论 -
坑 - 保留n位小数
angular files, 鼠标右键新建组件等angular support , html 里面提示变量auto close tagauto rename tagcode原创 2021-09-08 14:14:46 · 40 阅读 · 0 评论 -
angular: BrowserModule has already been loaded. If you need access to common directives such as ...
BrowserModule, BrowserAnimationsModule, 这两个模块只在application中的app.module.ts中导入一次,配置 MyCommonModule的时候,不要包括它们两个。原创 2021-07-11 19:13:59 · 708 阅读 · 0 评论