logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

问题:diffie-hellman-group1-sha1

在git clone 项目的时候, 竟然报错了:    no matching key exchange method found. Their offer: diffie-hellman-group1-sha1那么,想要解决此问题, 则需要在用户目录下的 .ssh文件夹下新建一个 config 文件,添加:  Host *  KexAlgorithms +diffie-hellman-group

#git
react动态添加样式:style和className

react开发过程中,经常会需要动态向元素内添加样式style或className,那么应该如何动态添加呢???一、react向元素内,动态添加style例如:有一个DIV元素, 需要动态添加一个 display:block | none 样式, 那么:<div style={{display: (index===this.state.currentIndex) ? "bl

到底了