摘要: 1.问题描述:在vue2.0+ 中做一个公用的评论组件,:key使用的时创建评论的时间,当加载更多的时候,会报错: Duplicate keys detected: '2019-01-24T07:15:35.000Z'.This may cause an update error. 2. 出问题的代 阅读全文
posted @ 2019-01-26 22:12 小方块的世界 阅读(3064) 评论(1) 推荐(1)
摘要: hexo 添加分类并在菜单中显示 阅读全文
posted @ 2019-01-24 10:21 小方块的世界 阅读(4556) 评论(4) 推荐(3)
摘要: error: pathspec 'project'' did not match any file(s) known to git. 阅读全文
posted @ 2019-01-23 15:12 小方块的世界 阅读(17884) 评论(2) 推荐(7)
摘要: MATLAB在线网页版,在线运行无需安装,函数图形在线绘制小工具。 阅读全文
posted @ 2019-01-22 18:08 小方块的世界 阅读(13535) 评论(0) 推荐(1)
摘要: npm WARN babel-loader@8.0.5 requires a peer of @babel/core@^7.0.0 but none is installed. 阅读全文
posted @ 2019-01-17 23:28 小方块的世界 阅读(13303) 评论(0) 推荐(2)
摘要: 1. 直接安装报错(版本根据自己需求来) npm i node-sass@4.5.3 -D 报错不能下载 win32-x64-64_binding.node Downloading binary from https://github.com/sass/node-sass/releases/down 阅读全文
posted @ 2019-01-16 00:34 小方块的世界 阅读(2997) 评论(0) 推荐(0)
摘要: 安装webpack-cli报错,以及解决方法 npm WARN webpack-cli@3.2.1 requires a peer of webpack@4.x.x but none is installed. You must install peer dependencies yourself. 阅读全文
posted @ 2019-01-15 12:37 小方块的世界 阅读(1888) 评论(0) 推荐(0)
摘要: 1.步骤 File > > Settings > >Plugins > > 搜索bootstrap 3 然后点击 Browse repositories 就会有一个弹框,如下:(认准作者@epragt) 2. 上图是已经安装好了的界面,没有安装的会有一个install按钮,点击安装点击apply然后 阅读全文
posted @ 2019-01-06 12:05 小方块的世界 阅读(381) 评论(0) 推荐(0)
摘要: 1. 服务器端代码(Node.js) 2. 客户端代码 3. 备注 3.1 在客户端先定义好方法,然后通过script标签的src属性发起get请求将方法名传递到服务端。在服务端通过模板字符串将获取的方法名和需要返回的数据包装起来然后响应给客户端,这样就完成了JSONP的数据传递。 3.2 es6中 阅读全文
posted @ 2019-01-04 10:29 小方块的世界 阅读(299) 评论(0) 推荐(0)
摘要: 1. URL模块作用: url 模块用于处理与解析 URL。 使用方法如下: 2. URL 字符串与 URL 对象 URL 字符串是结构化的字符串,包含多个含义不同的组成部分。 解析字符串后返回的 URL 对象,每个属性对应字符串的各个组成部分。 url 模块提供了两套 API 来处理 URL:一个 阅读全文
posted @ 2019-01-04 10:01 小方块的世界 阅读(919) 评论(0) 推荐(0)