摘要: module.exports = { root: true, parserOptions: { parser: 'babel-eslint', sourceType: 'module' }, env: { browser: true, node: true, es6: true, }, extend 阅读全文
posted @ 2021-10-28 09:57 前端出发者 阅读(282) 评论(0) 推荐(0) 编辑
摘要: for循环中,有一个是高亮的,给了:class,我想拿到这个高亮的所对应的所有信息就要去for循环遍历,然后去判断里面每一项的a属性和我想要的属性是否一致,一致的话就拿出来 this.slideInfo.slideDTOList.forEach((v, i) ⇒ { if (v.globalId = 阅读全文
posted @ 2021-10-26 14:23 前端出发者 阅读(212) 评论(0) 推荐(0) 编辑
摘要: import moment from 'moment' // 返回当前时间(格式:2018-01-09) const currDate = () => moment().format('YYYY-MM-DD HH:mm:ss') // ... export { isToday, ellipsisTe 阅读全文
posted @ 2021-07-01 11:17 前端出发者 阅读(28) 评论(0) 推荐(0) 编辑
摘要: <div class="content" style="padding: 0px 0px 0 0px;min-height:850px;"> <div id="home"> <div class="home-top"> <div class="left"> <div class="left-left 阅读全文
posted @ 2021-07-01 10:13 前端出发者 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-06-07 16:56 前端出发者 阅读(56) 评论(0) 推荐(0) 编辑
摘要: <div id="salesSeal" class="self_bg"> <div class="contract_query"> <!-- <span>用印申请状态:</span> --> <span style="padding: 15px 15px 5px 15px;display: inli 阅读全文
posted @ 2021-05-14 15:03 前端出发者 阅读(34) 评论(0) 推荐(0) 编辑
摘要: > const reg =/^[1-9][0-9]{0,1}&/g reg.test(a)*> 正整数且不能输入英文字母特殊字符以及首位不能为0的正则 1.// 处理文字过长的问题 const ellipsisText = (val, num) => { if (!val) return '' co 阅读全文
posted @ 2021-05-13 16:32 前端出发者 阅读(37) 评论(0) 推荐(0) 编辑
摘要: window终止vscode终端用 control + c ,mac也是control + c 先创建自己的本地分支操作: git checkout -b dev-fhm 创建自己的本地分支 git branch 查看分支 git pull origin dev 把代码从dev pull下来 这时候 阅读全文
posted @ 2021-05-13 15:58 前端出发者 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-09-18 16:38 前端出发者 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 方法一:利用定位(常用方法,比较推荐) .parent{ width:500px, height:500px, border:1px solid #000, position:relative } .child{ width:100px, height:100px, border:1px solid 阅读全文
posted @ 2020-09-18 16:33 前端出发者 阅读(730) 评论(0) 推荐(0) 编辑