随笔分类 -  前端

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 27 下一页
摘要:ES6 预览 VUE2 预览 webcomponents 预览 ES6 2019 pdf下载: https://files.cnblogs.com/files/pengchenggang/javascript-cheatsheet-2019-lenguajejs.com.pdf.lin.zip we 阅读全文
posted @ 2021-12-13 08:53 彭成刚 阅读(218) 评论(0) 推荐(0)
摘要:"echarts": "^5.2.2", ChartSituation1 <template> <div> <EChartTemplate1 ref="eChartTemplate1Ref"></EChartTemplate1> </div> </template> <script> import 阅读全文
posted @ 2021-12-09 16:23 彭成刚 阅读(1395) 评论(0) 推荐(0)
摘要:这个文档 不涉及eslint 只专注自动格式化 格式化个性化需求: js中 自动去分号 js中 双引号变单引号 最大空换行数 是2 vue template中 属性自动折行 vue 的自动格式化 需要用到vetur插件,它可以对vue的 template script css 单独进行设置 sett 阅读全文
posted @ 2021-11-26 10:36 彭成刚 阅读(1268) 评论(0) 推荐(0)
摘要:接口文档 doclever 阅读全文
posted @ 2021-11-18 11:28 彭成刚 阅读(78) 评论(0) 推荐(0)
摘要:JSDoc vue-jsdoc vscode 阅读全文
posted @ 2021-11-17 19:03 彭成刚 阅读(362) 评论(0) 推荐(0)
摘要:index.html <script type='text/javascript' src='<%= BASE_URL %>config.js?${Math.random().toString(36).substr(2)}'></script> <% if (process.env.NODE_ENV 阅读全文
posted @ 2021-11-17 09:40 彭成刚 阅读(112) 评论(0) 推荐(0)
摘要:Nexus npm 搭建私有仓库 很好很强大 https://www.jianshu.com/p/e437d8e694a0 主要想到这个包的话比较大 所以要是有个私有仓库 就方便许多 https://www.electronjs.org/ npm i nrm -g nrm ls nrm use [仓 阅读全文
posted @ 2021-11-16 16:34 彭成刚 阅读(326) 评论(0) 推荐(0)
摘要:const ruleNumber2DecimalPlaces = [ { required: true, trigger: 'blur,change', message: '不能为空' }, { validator: (rule, value, callback) => { let reg = /^ 阅读全文
posted @ 2021-11-16 15:33 彭成刚 阅读(366) 评论(0) 推荐(0)
摘要:https://developer.mozilla.org/zh-CN/docs/Web/API/Window/postMessage 阅读全文
posted @ 2021-11-16 11:09 彭成刚 阅读(31) 评论(0) 推荐(0)
摘要:思路:botton 加一个class 每个右边加个竖线,最后一个不加。 用起来很方便 <template slot="handle" slot-scope="{ row, index }"> <Button type="primary" v-if="row.parentItemId '0'" gho 阅读全文
posted @ 2021-11-12 13:57 彭成刚 阅读(322) 评论(0) 推荐(0)
摘要:英文 | https://javascript.plainenglish.io/13-methods-to-remove-filter-an-item-in-an-array-and-array-of-objects-in-javascript-f02b71206d9d 翻译 | 杨小爱 我们可能总 阅读全文
posted @ 2021-11-11 08:34 彭成刚 阅读(1350) 评论(0) 推荐(0)
摘要:columns.js export default [ { title: '选择', slot: 'choose', align: 'center', width: 100 }, table里面 <template slot="choose" slot-scope="{ row, index }"> 阅读全文
posted @ 2021-11-08 17:04 彭成刚 阅读(488) 评论(0) 推荐(0)
摘要:需求 自动格式化需求 多行回车 合并一行,去分号 最后一个逗号,自动删除,符合eslint 结果 虽然能用了,但是 百度好几个方案,也不知道哪个对哪个,太忙没时间弄了。 配置文件记录 eslint 得装 vetur 得装 prettier 得装 Beautify v1.5.0 得装 这个很重要 装了 阅读全文
posted @ 2021-11-07 11:56 彭成刚 阅读(268) 评论(0) 推荐(0)
摘要:修正1 "javascript.format.enable": true, // 这里false 改true 修正2 注释掉这个地方 // "[javascript]": { // "editor.defaultFormatter": "dbaeumer.vscode-eslint" // }, 2 阅读全文
posted @ 2021-11-02 11:53 彭成刚 阅读(1323) 评论(0) 推荐(0)
摘要:git svn 提交代码日志填写规范 BUG NEW DEL CHG TRP gitz 日志z 阅读全文
posted @ 2021-10-26 08:44 彭成刚 阅读(122) 评论(0) 推荐(0)
摘要:husky 7 的安装,注意下版本 第一步 安装 cnpm install husky@7.0.4 --save-dev 第二步 在package.json script加入 "prepare": "husky install", 第三步 执行下 npm run prepare 第四步 添加hook 阅读全文
posted @ 2021-10-22 15:30 彭成刚 阅读(562) 评论(0) 推荐(0)
摘要:export const apiDown = (url, data = {}) => { let data2 = secretFilter(data) axiosDown({ url, params: data2, method: 'get', responseType: 'blob', heade 阅读全文
posted @ 2021-10-19 14:46 彭成刚 阅读(115) 评论(0) 推荐(0)
摘要:fatal: unable to access 'http://192.168.111.111:8086/111_1/Org/product/web.git/': Failed to connect to 127.0.0.1 port 52520: Connection refused 等于是 蓝灯 阅读全文
posted @ 2021-10-18 14:21 彭成刚 阅读(0) 评论(0) 推荐(0)
摘要:vscode git冲突 1. git stash 2. 更新代码 3. git stash pop 4.提交代码 阅读全文
posted @ 2021-10-13 16:25 彭成刚 阅读(191) 评论(0) 推荐(0)
摘要:<template> <span style="width: 200px; display: inline-block;"> <Input v-model="inputNumberValue" :disabled="disabled" @on-keyup="keyup" @on-blur="blur 阅读全文
posted @ 2021-10-13 16:01 彭成刚 阅读(149) 评论(0) 推荐(0)

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 27 下一页