![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
SugarPPig
半躺主义者
展开
-
‼ gifsicle pre-build test failed
在window10上运行vue项目报错npm installgifsicle@4.0.1 postinstall c:\Users...\Documents...\node_modules\gifsiclenode lib/install.js‼ tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:80‼ gifsicle pre-build test failedi compi原创 2020-08-08 20:30:29 · 6927 阅读 · 4 评论 -
【vue基础速学】v-for 结合箭头函数
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>vuepro</title></head><script src="https://cdn.jsdelivr.net/npm/vue/dist/vu...原创 2019-10-08 15:08:07 · 231 阅读 · 0 评论 -
【vue基础速学】v-model 双向绑定简单原理
主要借助于Object.defineProperty()原创 2019-10-08 16:36:59 · 141 阅读 · 0 评论 -
【vue基础速学】Mock.js 生成后端 API 分页数据
index.html<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script src="https://cdn.jsdelivr.net/npm/vue/dist/...原创 2019-10-08 21:18:37 · 546 阅读 · 0 评论 -
【vue基础速学】子组件触发父组件
.sync 修饰符原创 2019-10-08 23:25:12 · 94 阅读 · 0 评论 -
【vue基础速学】axios - request 拦截器使用、动态增加 token 参数
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script src="https://unpkg.com/axios/dist/axios.min.js"></...原创 2019-10-09 10:25:48 · 708 阅读 · 0 评论 -
【vue基础速学】token 生成与过期机制
1、法定时间是 20 秒,其实 redis 存了 40 秒2、判断的时候取 ttl(key),获取 redis 过期时间还有多少秒3.1、如果 ttl 在 20 秒以上,就响应{ result:[xxxoo], status:"ok"}3.2、如果 ttl 时间在 20 秒以下,但是超过 0 秒,则响应{ result:[xxxoo], status:"re...原创 2019-10-09 14:54:01 · 487 阅读 · 0 评论