上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页
摘要: // 这是目前用的比较多的方式 routes: [ { path: '/', redirect: '/index', component: Index, meta: { keepAlive: true }}, { path: '/common', component: TestParent, children:... 阅读全文
posted @ 2018-01-04 14:29 fm060 阅读(361) 评论(0) 推荐(0)
摘要: 环信即时通讯使用 阅读全文
posted @ 2018-01-02 00:24 fm060 阅读(153) 评论(0) 推荐(0)
摘要: 上传到七牛 node插件var qiniu = require('qiniu'); 阅读全文
posted @ 2017-12-29 15:34 fm060 阅读(984) 评论(0) 推荐(0)
摘要: 1.路由传参 阅读全文
posted @ 2017-12-15 18:25 fm060 阅读(103) 评论(0) 推荐(0)
摘要: 定义公用变量和方法 1.在页面上调用变量 2.在页面执行方法改变公共变量 3.更新视图 4.react-redux使用 阅读全文
posted @ 2017-12-14 12:25 fm060 阅读(114) 评论(0) 推荐(0)
摘要: 1.react手脚架 create-react-app 2.react操作,输出 阅读全文
posted @ 2017-12-14 12:24 fm060 阅读(868) 评论(0) 推荐(0)
摘要: /*手机横屏时执行*/ @media screen and (orientation:landscape){ .txtle{ color: red } } /*手机竖屏时执行*/ @media screen and (orientation:portrait){ #wrap{ display:none; } } 阅读全文
posted @ 2017-12-11 14:21 fm060 阅读(176) 评论(0) 推荐(0)
摘要: set 它类似于数组,但是成员的值都是唯一的,没有重复的值。 方法:add(),has(),delete(),clear() 转为对像: const items = new Set([1, 2, 3, 4, 5]);const array = Array.from(items); 去除数组重复成员: 阅读全文
posted @ 2017-12-08 17:24 fm060 阅读(164) 评论(0) 推荐(0)
摘要: { arr.map(function(val){ return {val} }) } 阅读全文
posted @ 2017-12-08 16:34 fm060 阅读(3752) 评论(1) 推荐(0)
摘要: 数据的过滤处理 阅读全文
posted @ 2017-12-08 15:49 fm060 阅读(104) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页