上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: 在写一个移动端网页的滑动验证时,如果手指在屏幕上滑动会触发手机自带的事件。比如手机切屏或返回上一页等等。有两种网页端的方法可以阻止移动端左右滑动触发上一下和下一页的操作。 1.CSS方法: html{ touch-action:none; touch-action:pan-y;} 2.使用JS代码: 阅读全文
posted @ 2023-05-11 11:27 站住,野猪佩奇 阅读(2107) 评论(0) 推荐(0) 编辑
摘要: // 苹方-简 常规体font-family: PingFangSC-Regular, sans-serif; // 苹方-简 极细体font-family: PingFangSC-Ultralight, sans-serif; // 苹方-简 细体font-family: PingFangSC-L 阅读全文
posted @ 2023-05-09 17:11 站住,野猪佩奇 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-11-15 15:39 站住,野猪佩奇 阅读(83) 评论(0) 推荐(0) 编辑
摘要: git log --all --full-history -- <path-to-file>(要查询的文件路径,例如: git log --all --full-history -- src/pages/laboratory/Device.vue) 阅读全文
posted @ 2022-11-08 11:32 站住,野猪佩奇 阅读(494) 评论(0) 推荐(0) 编辑
摘要: tree组件折叠 // 关闭弹窗时,折叠组织树(耗时操作)for (var i = 0; i < this.$refs.tree.store._getAllNodes().length; i++) { this.$refs.tree.store._getAllNodes()[i].expanded 阅读全文
posted @ 2022-10-13 09:49 站住,野猪佩奇 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 场景:1.项目上线,发现有bug,要紧急回滚到上个版本;2.多人合作,在qa出现了蹊跷的bug,不确定是哪个分支带来的,下掉可疑分支;3.产品觉得还是之前版本比较好。。 噔噔噔噔git revert闪亮登场! 1.回滚某次提交git revert commitId 2.回滚多次提交git rever 阅读全文
posted @ 2022-08-18 17:54 站住,野猪佩奇 阅读(824) 评论(0) 推荐(0) 编辑
摘要: <el-table :data="tableSearchArr" size="mini" stripe border height="350" :header-cell-style="{color: '#5f646e', fontWeight:'bold',textAlign: 'center'}" 阅读全文
posted @ 2022-05-06 15:02 站住,野猪佩奇 阅读(1650) 评论(0) 推荐(0) 编辑
摘要: filter中的this是全局的不是指向的vue实例,那么也就不能使用this.xxx 解决的方法 首先定义一个全局的变量 <script> let that export default { } </script> 然后在vue创建前的生命周期钩子函数中将that指向this beforeCrea 阅读全文
posted @ 2022-05-05 17:41 站住,野猪佩奇 阅读(669) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-09-01 15:38 站住,野猪佩奇 阅读(42) 评论(0) 推荐(0) 编辑
摘要: git branch -vv查看本地仓库与对应连接的远程仓库; 阅读全文
posted @ 2020-06-01 11:35 站住,野猪佩奇 阅读(533) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页