上一页 1 ··· 9 10 11 12 13 14 下一页
  2020年12月18日
摘要: 1.在input框前面添加图标 添加 prefix-icon="el-icon-user" <el-form-item prop="username"> <el-input ref="username" prefix-icon="el-icon-user" v-model="loginForm.us 阅读全文
posted @ 2020-12-18 10:45 稳住别慌 阅读(12386) 评论(0) 推荐(0)
  2020年12月17日
摘要: 一般用于移动端的开发,设置高度为100%-头部的高度 .container{ height: calc(100% - 40px); //注:减号前后要有空格,否则很可能不生效!! } 阅读全文
posted @ 2020-12-17 10:30 稳住别慌 阅读(208) 评论(0) 推荐(0)
摘要: <el-table :data="tableData" border @selection-change="changeFun"> // table表头设置selection-change(changeFun方法) data 设置 multipleSelection: [], methods设置 c 阅读全文
posted @ 2020-12-17 10:27 稳住别慌 阅读(3597) 评论(0) 推荐(0)
摘要: $(".unline-ipt").click(function () { $(this).focus().select(); this.selectionStart = 0; this.selectionEnd = this.val().length; }) 阅读全文
posted @ 2020-12-17 10:22 稳住别慌 阅读(386) 评论(0) 推荐(0)
  2020年12月14日
摘要: 1. 常见方法 // 组件 export default { name: 'test-keep-alive', data () { return { includedComponents: "test-keep-alive" } } } <keep-alive include="test-keep- 阅读全文
posted @ 2020-12-14 16:32 稳住别慌 阅读(203) 评论(0) 推荐(0)
  2020年12月8日
摘要: 1.首先是数据类型不一样 console.log(typeof null) // objectconsole.log(typeof undefined) // undefined 2.null和undefined 两者相等,但是当两者做全等比较时,两者又不等。(因为它们的数据类型不一样) conso 阅读全文
posted @ 2020-12-08 10:06 稳住别慌 阅读(842) 评论(0) 推荐(0)
  2020年11月19日
摘要: 问题:执行git status,提示: HEAD detached from origin/master 原因:分支选错了,后续的提交都提交到了一个匿名分支之上,整个状态是游离了的 解决方法: 1.查看在游离状态下提交的最新commit号 git branch -v 2.创建一个临时的分支,创建完成 阅读全文
posted @ 2020-11-19 10:02 稳住别慌 阅读(4173) 评论(0) 推荐(0)
  2020年11月10日
摘要: 输入git push出现错误,可以采用 git push -f 强制推送 mi@DESKTOP-3EN48FH MINGW64 /d/project/future-runmei-mall-h5 (master) $ git push To https://gitee.com/bilnn/future 阅读全文
posted @ 2020-11-10 13:38 稳住别慌 阅读(873) 评论(0) 推荐(0)
  2020年11月3日
摘要: <meta name="format-detection" content="telephone=yes" /> // 调用拨号功能 callPhone(phoneNumber) { window.location.href = "tel://" + phoneNumber; }, 阅读全文
posted @ 2020-11-03 14:17 稳住别慌 阅读(103) 评论(0) 推荐(0)
摘要: // 检查登录密码,字母数字特殊字符两两组合 checkPassword() { const reg = /(?!.*\s)(?!^[\u4e00-\u9fa5]+$)(?!^[0-9]+$)(?!^[A-z]+$)(?!^[^A-z0-9]+$)^.{8,16}$/; if (this.passw 阅读全文
posted @ 2020-11-03 14:11 稳住别慌 阅读(797) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 下一页