会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
辣牛
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
12
下一页
2017年3月21日
react
摘要: cancelEditImage = (imageUrl) => { const {actions: {ownActions: {editMaterial}}, materials} = this.props; const item = find(materials, {coverImage: ima
阅读全文
posted @ 2017-03-21 17:33 辣牛
阅读(121)
评论(0)
推荐(0)
2017年3月20日
react-highcharts
摘要: import ReactHighcharts from'react-highcharts'; class SummaryLeft extends Component { render () {var config = { chart: { plotBackgroundColor: null, plotBorderWidth: null, ...
阅读全文
posted @ 2017-03-20 10:11 辣牛
阅读(1118)
评论(0)
推荐(0)
2017年3月17日
perfect-scrollbar 轻量级滚动插件
摘要: 它是一个轻量级的jquery插件。 需要引入的文件: css: #box { position: absolute; overflow: hidden; height: 200px; width: 200px; } js: componentDidMount() { $('#box').perfec
阅读全文
posted @ 2017-03-17 14:40 辣牛
阅读(6293)
评论(0)
推荐(0)
svg格式矢量图引入方法
摘要: 引入方法: span { background: url('1.svg') no-repeat; background-size: 20px 20px; background-position: 0 0; } <span></span> 修改颜色方法: 以text文本格式打开svg文件,修改path
阅读全文
posted @ 2017-03-17 13:44 辣牛
阅读(2863)
评论(1)
推荐(1)
2017年3月16日
fetch格式
摘要: fetch('url'+参数a, { method: "GET", body: json } .then(res => response.json()) .then(console.log(json)) ) 一个发送post请求的示例: 项目: export default class View e
阅读全文
posted @ 2017-03-16 17:20 辣牛
阅读(864)
评论(0)
推荐(0)
npm-debug.log文件出现原因
摘要: 项目主目录下总是会出现这个文件,而且不止一个,原因是npm i 的时候,如果报错,就会增加一个此文件来显示报错信息,npm install的时候则不会出现。
阅读全文
posted @ 2017-03-16 10:09 辣牛
阅读(6289)
评论(0)
推荐(0)
2017年3月15日
p标签注意事项
摘要: <p> 哈哈,我是一个段落哦! <div id="box">我是一个萌萌的div</div> </p> 这样写的后果: 注意: p标签里面不要放块级元素,最好只放文本。
阅读全文
posted @ 2017-03-15 11:41 辣牛
阅读(376)
评论(0)
推荐(0)
git配置文件
摘要: git配置文件位置: 当前用户目录下的隐藏文件.gitconfig 找不到原因:没有配置name 解决办法: git config --global user.name 'your name' git config --global user.email 'your email' 设置命令简写:配置
阅读全文
posted @ 2017-03-15 11:37 辣牛
阅读(176)
评论(0)
推荐(0)
2017年3月13日
解决npm 的 shasum check failed for错误
摘要: 使用npm安装一些包失败,类似如下报错情况: 方法一:使用cnpm,用淘宝 NPM 镜像 安装 上面这种镜像使用方式将配置写死,下次用的时候配置还在。附:搜索镜像: http://cnpmjs.org 安装模块 | $ cnpm install [name]从 registry.npm.taobao
阅读全文
posted @ 2017-03-13 17:56 辣牛
阅读(9807)
评论(1)
推荐(1)
2017年2月22日
Flex布局
摘要: 学习中。。。
阅读全文
posted @ 2017-02-22 14:09 辣牛
阅读(156)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
12
下一页
公告