
vue
SugarPPig
国企中年计算机爱好者。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
‼ gifsicle pre-build test failed
在window10上运行vue项目报错npm [email protected] 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 · 7237 阅读 · 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 · 305 阅读 · 0 评论 -
【vue基础速学】v-model 双向绑定简单原理
主要借助于Object.defineProperty()原创 2019-10-08 16:36:59 · 200 阅读 · 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 · 616 阅读 · 0 评论 -
【vue基础速学】子组件触发父组件
.sync 修饰符原创 2019-10-08 23:25:12 · 153 阅读 · 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 · 766 阅读 · 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 · 601 阅读 · 0 评论