回答了问题2019-06-20
上传文件的话 data需要是: FormData, File, Blob 三种之一[链接] {代码...} 官方上传文件示例[链接]
回答了问题2019-06-20
{代码...} 或者 {代码...}
回答了问题2017-08-03
(Synchronous) If a callback is not supplied, function acts synchronously. Returns the payload decoded if the signature (and, optionally, expiration, audience, issuer) are valid. If not, it will throw the error.
回答了问题2017-07-29
{代码...} [链接]
回答了问题2017-07-18
Array.prototype.reduce()reduce() 方法对累加器和数组中的每个元素 (从左到右)应用一个函数,将其减少为单个值。[链接]
回答了问题2017-07-12
Array.prototype.findIndex() findIndex()方法返回数组中满足提供的测试函数的第一个元素的索引。否则返回-1。 [链接] Array.prototype.splice() splice() 方法通过删除现有元素和/或添加新元素来更改一个数组的内容。 [链接]
回答了问题2017-06-29
下载图中框起来的
回答了问题2017-06-21
tree 命令 [链接]
回答了问题2017-06-17
Mock.js [链接] [链接]
回答了问题2017-03-01
{代码...}
回答了问题2017-02-19
mixin form(days, form, type, visable) 注意加粗的,试试改个名字
回答了问题2016-12-02
DocumentFragment 接口表示文档的一部分(或一段)。更确切地说,它表示一个或多个邻接的 Document 节点和它们的所有子孙节点。 DocumentFragment 节点不属于文档树,继承的 parentNode 属性总是 null。 不过它有一种特殊的行为,该行为使得它非常有用,即当请求把一...
关注了问题2016-12-02
回答了问题2016-11-24
{代码...} {代码...} {代码...} 监听 url 变化,如果不是login logout 就检查登录状态。检查登录状态 检查js变量,没有登录就直接跳登录页 如果js变量已经登录,就判断一下是否需要异步检测 不需要检测就结束(比如上次检测是在60秒内)。 如果需要异步检测,就异步检...
关注了问题2016-11-24
回答了问题2016-11-21
在编译过后的内容里搜索 @import .css 不会 require 进去 英文[链接]中文[链接]
关注了问题2016-11-21
回答了问题2016-11-21
利用 a:visited css 访问过的链接样式区分。 {代码...} 访问过的链接的color是 red,未访问过的链接color是 blue
关注了问题2016-11-21
回答了问题2016-11-17
做一件事情最好的时间是十年前 其次是现在