上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页
摘要: img[src=""] img无路径情况 阅读全文
posted @ 2020-05-20 15:00 CatherLee 阅读(105) 评论(0) 推荐(0) 编辑
摘要: https://juejin.im/post/5b189712f265da6e235488c1 阅读全文
posted @ 2020-05-15 11:43 CatherLee 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 1、删除a标签与span标签str = str.replace(/(<\/?a.*?>)|(<\/?span.*?>)/g, '');2、过滤删除style属性str = str.replace(/style\s*?=\s*?(['"])[\s\S]*?\1/g, "$1");3、去除行尾空白str 阅读全文
posted @ 2020-04-22 18:06 CatherLee 阅读(146) 评论(0) 推荐(0) 编辑
摘要: background: url("../../../assets/pre-registration/web/part10_title.png") background: url("~@/assets/pre-registration/web/part10_title.png") 在style里可以用 阅读全文
posted @ 2020-04-22 16:17 CatherLee 阅读(278) 评论(0) 推荐(0) 编辑
摘要: click事件改为touchstart. window.addEventListener( "touchstart", () => (this.showMenu = false), { passive: false });window.addEventListener("click", () => 阅读全文
posted @ 2020-04-21 11:29 CatherLee 阅读(537) 评论(0) 推荐(0) 编辑
摘要: 应用场景 在前后端分离的开发模式中,后端给前端提供一个接口,由前端向后端发请求,得到数据后前端进行渲染。 由于前后端开发进度的不统一,前端往往使用本地的测试数据进行数据渲染的测试。 如何配置 在vue-cli构建的项目,我们可以借助devServer开启一个服务,然后我们可以通过路由模拟一个接口来进 阅读全文
posted @ 2019-12-05 19:18 CatherLee 阅读(1604) 评论(0) 推荐(0) 编辑
摘要: flag-icon-css 阅读全文
posted @ 2019-12-04 11:40 CatherLee 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 注意:mac版本的,要把Ctrl换为Command。1.chrome浏览页面常用快捷键 Ctrl+N 打开新窗口。 Ctrl+T 打开新标签页。 Ctrl+W关闭当前标签 Ctrl + F4 关闭chrome浏览器 Ctrl+Tab 或 Ctrl+PgDown 切换到下一个标签页。 Ctrl+Shi 阅读全文
posted @ 2019-11-25 10:53 CatherLee 阅读(698) 评论(0) 推荐(0) 编辑
摘要: ⌘——Command ⌃ ——Control ⌥——Option/Alt ⇧——Shift ⇪——Caps Lock fn——功能键就是fn 编辑 Command+alt+T 用 (if..else, try..catch, for, etc.)包住Command+/ 注释/取消注释的行注释Comm 阅读全文
posted @ 2019-11-20 11:41 CatherLee 阅读(224) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页