摘要: 1、很好用的弹窗 https://limonte.github.io/sweetalert2/ https://github.com/limonte/sweetalert2 2、一款兼容的视频插件video.js https://github.com/videojs/video.js 3、 阅读全文
posted @ 2017-10-31 18:34 地铁程序员 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 在尝鲜vuex2时,发现vuex2增加了 mapGetters 和 mapActions 的方法,借助stage2的 Object Rest Operator 特性,可以写出下面代码:methods: { marked, ...mapActions([ 'getArticles' ])}但是在借助b 阅读全文
posted @ 2017-10-31 16:55 地铁程序员 阅读(3129) 评论(0) 推荐(1) 编辑