摘要: 首先,你需要安装git。具体过程可以百度,不同系统不同安装方法。 然后具体怎么操作git,打开你想上传的文件夹,然后在文件夹里打开命令窗口: 1、在目录下创建一个仓库,使用:git init 2、将内容添加到暂存区:git add +文件名(一般文件名这里用点‘.’代替) ps:注意空格 3、 提交 阅读全文
posted @ 2016-10-31 21:05 GoodBoyX 阅读(165) 评论(2) 推荐(1)
摘要: <div id="box"></div> <div id="box1"></div> <script type="text/babel"> var Hello = React.createClass({//1、 接收到属性之前 componentWillReceiveProps : function 阅读全文
posted @ 2016-10-31 21:03 GoodBoyX 阅读(97) 评论(0) 推荐(0)
摘要: <div id="box"></div> <div id="box1"></div> <script type="text/babel"> var Hello = React.createClass({//1、设置默认属性 getDefaultProps 不需要渲染到界面上就会执行// 属性 是属于 阅读全文
posted @ 2016-10-31 21:01 GoodBoyX 阅读(1048) 评论(0) 推荐(0)