摘要: https://www.fastmock.site/ 阅读全文
posted @ 2022-04-04 16:02 LouisVuitt 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 一、创建项目 1 $ yarn create vite demo 二、安装项目依赖 yarn add vue-router@next vuex@next element-plus axios -S 开发依赖 yarn add sass -D 注意:vite开发不需要安装node-sass sass- 阅读全文
posted @ 2022-04-01 00:24 LouisVuitt 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 官网: https://www.processon.com/ 阅读全文
posted @ 2022-03-31 22:33 LouisVuitt 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 转义:encodeURIComponent 解码:decodeURIComponent() 阅读全文
posted @ 2022-03-31 17:57 LouisVuitt 阅读(361) 评论(0) 推荐(0) 编辑
摘要: reflesh() { let scrollTop = document.documentElement.scrollTop || document.body.scrollTop; if (scrollTop > 0) { document.documentElement.scrollTop = 0 阅读全文
posted @ 2022-03-31 17:42 LouisVuitt 阅读(147) 评论(0) 推荐(0) 编辑
摘要: Promise.prototype.finally() new Promise((resolve, reject) => { setTimeout(() => { resolve('success') // reject('fail') }, 1000) }).then(res => { conso 阅读全文
posted @ 2022-03-31 17:39 LouisVuitt 阅读(812) 评论(0) 推荐(0) 编辑
摘要: 一、promise、nextTick ,setTimeout的执行循序 https://blog.csdn.net/wlanye/article/details/103984025 二、函数柯里化简单实现 1 function curry(fn) { 2 var args = Array.proto 阅读全文
posted @ 2022-03-31 17:19 LouisVuitt 阅读(21) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/84ef1b48fcce 阅读全文
posted @ 2022-03-20 23:01 LouisVuitt 阅读(9) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/jyybeam/p/12019788.html 阅读全文
posted @ 2022-03-20 22:38 LouisVuitt 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 1 . 代码自动补全插件:HTML Snippets 2 . 标签自动闭合插件:Auto Close Tag 3 . 修改标签时同时修改匹配标签插件:Auto Rename Tag 4 . css class提示插件:IntelliSense for css class names 5 . Vetu 阅读全文
posted @ 2022-03-08 23:25 LouisVuitt 阅读(37) 评论(0) 推荐(0) 编辑