摘要: 错误: [vuex] vuex requires a Promise polyfill in this browser. 原因:因为使用了 ES6 中用来传递异步消息的的Promise,而IE低版本的浏览器不支持。 解决方法: 第一步: 安装 babel-polyfill 。 babel-polyf 阅读全文
posted @ 2017-09-15 13:52 zph前端 阅读(722) 评论(0) 推荐(0) 编辑
摘要: 参考官方文档:http://cn.vuejs.org/v2/guide/components.html#使用自定义事件的表单输入组件 参考:http://www.cnblogs.com/bldf/p/6645225.html 阅读全文
posted @ 2017-09-15 10:03 zph前端 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 运行结果: 参考文档: http://www.jb51.net/article/113112.htm 官方文档:http://cn.vuejs.org/v2/guide/components.html#使用自定义事件的表单输入组件 阅读全文
posted @ 2017-09-15 09:45 zph前端 阅读(426) 评论(0) 推荐(0) 编辑