上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 28 下一页
摘要: win10 多桌面 win+tab | ctrl+win+左右箭头 阅读全文
posted @ 2019-05-07 14:45 彭成刚 阅读(2684) 评论(0) 推荐(0) 编辑
摘要: GitKrakenSetup Git可视化操作软件 阅读全文
posted @ 2019-05-06 08:31 彭成刚 阅读(568) 评论(0) 推荐(0) 编辑
摘要: tip1:新建数据库 记得选 字符集和排序规则 utf8 -- UTF-8 Unicode utf8_general_ci 后台链接部分 1. 全局管理员安装 nodemon,后台热部署(右键 管理员运行cmd) npm install -g nodemon 2. 管理员安装插件(右键 管理员运行c 阅读全文
posted @ 2019-05-05 11:18 彭成刚 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Koa -- 基于 Node.js 平台的下一代 web 开发框架 koa.bootcss.com 阅读全文
posted @ 2019-04-26 10:57 彭成刚 阅读(119) 评论(0) 推荐(0) 编辑
摘要: birthday: [{ required: true, message: '内容不能为空', trigger: 'blur' }],belongDept: [{ required: true, message: '内容不能为空', trigger: 'change' }], 阅读全文
posted @ 2019-04-26 10:16 彭成刚 阅读(1123) 评论(0) 推荐(0) 编辑
摘要: 使用WebStorm的Macros宏指令,实现保存的同时格式化代码,并跳至行尾 https://blog.csdn.net/gyz718/article/details/70556188 阅读全文
posted @ 2019-04-23 17:12 彭成刚 阅读(952) 评论(0) 推荐(0) 编辑
摘要: #[[$END$]]# 阅读全文
posted @ 2019-04-22 10:38 彭成刚 阅读(132) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u013216976/article/details/85273770 https://github.com/Apache-Ra/node-express-mysql 阅读全文
posted @ 2019-04-20 22:16 彭成刚 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 上传组件 的时候 看进度的时候 不要mock 注释掉 // if (process.env.NODE_ENV !== 'production') require('@/mock') 阅读全文
posted @ 2019-04-15 15:47 彭成刚 阅读(2000) 评论(0) 推荐(0) 编辑
摘要: 目录下 shift 右键菜单 打开cmd 或者在 地址栏输入cmd 回车进入cmd 阅读全文
posted @ 2019-04-12 09:26 彭成刚 阅读(299) 评论(0) 推荐(0) 编辑
摘要: xls表格 拼接字段 拼json =CONCAT("{ code:'",A2,"',","codeName: '",B2,"',","flag: '",C2,"'},") 阅读全文
posted @ 2019-04-04 14:12 彭成刚 阅读(192) 评论(0) 推荐(0) 编辑
摘要: let res = this.list.filter(item => routeEqual(this.currentRouteObj, item) || item.name this.$config.homeName) 阅读全文
posted @ 2019-04-04 11:06 彭成刚 阅读(557) 评论(0) 推荐(0) 编辑
摘要: libs/tools.js stringToDate dateToString 日期字符串转换函数 import { stringToDate } from '@/libs/tools.js' 阅读全文
posted @ 2019-04-03 13:51 彭成刚 阅读(262) 评论(0) 推荐(0) 编辑
摘要: vue 组件内 directives指令的调用方式 <base-table v-auto-height:tableHeight="{vm:this, diffHeight:ahTable.diffHeight}" 阅读全文
posted @ 2019-04-03 09:37 彭成刚 阅读(830) 评论(0) 推荐(0) 编辑
摘要: 发现 GM_addStyle 函数不能用了,从写加载css函数。 剩下找个定位 添加内容 就很简单了。 阅读全文
posted @ 2019-04-02 10:57 彭成刚 阅读(1539) 评论(0) 推荐(0) 编辑
摘要: vue :class 可以接收 字符串 数组 和 对象 对象里面的key值 根据true或false 显示不显示 https://cn.vuejs.org/v2/guide/class-and-style.html html部分 注意:class 代码部分 第一个和第2个 肯定显示 后面对象里面就是 阅读全文
posted @ 2019-03-29 11:55 彭成刚 阅读(1217) 评论(0) 推荐(0) 编辑
摘要: vue props 下有验证器 validator 验证数据返回true false后,false给default值 阅读全文
posted @ 2019-03-29 11:25 彭成刚 阅读(1388) 评论(0) 推荐(0) 编辑
摘要: Vue的 $parent,并不能准确找到上一层的控件,所以如果需要,需要填坑这个 bug,递归寻找下上级 阅读全文
posted @ 2019-03-28 16:28 彭成刚 阅读(1329) 评论(0) 推荐(0) 编辑
摘要: upload 上传 加token 在 :headers='headers' 注意 不要直接写$refs.upload.headers = {} 这样vue会警告 修改组件内部变量 阅读全文
posted @ 2019-03-28 13:48 彭成刚 阅读(2320) 评论(0) 推荐(0) 编辑
摘要: nginx 1.15.10 前端代理转发 将多个地址,代理转发到一个地址和端口 多系统公用一个cookie 统一token 注意: proxy_pass http://192.168.40.54:2233/xxxx_web/; (结尾有分号) 重新加载的reload命令 nginx.exe -s r 阅读全文
posted @ 2019-03-27 16:54 彭成刚 阅读(1109) 评论(0) 推荐(0) 编辑
摘要: 99%的时候 文字会模糊 F12 阅读全文
posted @ 2019-03-26 16:34 彭成刚 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 输入防抖 watch: { value (newVal, oldVal) { if (this.timer) { clearTimeout(this.timer) } this.timer = setTimeout(() => { // console.info('text') this.getTa 阅读全文
posted @ 2019-03-26 10:29 彭成刚 阅读(1132) 评论(0) 推荐(0) 编辑
摘要: promise 里面的 console.info 打印信息 并不准确,后期有修改对象数据,会覆盖,影响之前的显示 阅读全文
posted @ 2019-03-25 18:08 彭成刚 阅读(231) 评论(0) 推荐(0) 编辑
摘要: if (data.otherDescArr.some(_ => '7'.indexOf(_) > -1)) { export const hasOneOf = (targetarr, arr) => { return targetarr.some(_ => arr.indexOf(_) > -1) } 阅读全文
posted @ 2019-03-25 15:09 彭成刚 阅读(240) 评论(0) 推荐(0) 编辑
摘要: vue 数组对接字符串 传值时候,join(',') 一下 watch 阅读全文
posted @ 2019-03-25 14:59 彭成刚 阅读(2120) 评论(0) 推荐(0) 编辑
摘要: css 两列 左侧列固定 width: 100px; float: left; 右侧列自适应 margin-left:100px; 注意要用在div上的style 阅读全文
posted @ 2019-03-21 15:45 彭成刚 阅读(357) 评论(0) 推荐(0) 编辑
摘要: vscode F12 不能用,原来是快捷键冲突了。 阅读全文
posted @ 2019-03-21 09:34 彭成刚 阅读(7053) 评论(0) 推荐(0) 编辑
摘要: Vue.js Extension Pack | vsCode插件 可以定位跳转到@开头的路径等自定义路径 webpack自定义别名后,VScode路径提示问题 阅读全文
posted @ 2019-03-21 08:40 彭成刚 阅读(2236) 评论(0) 推荐(0) 编辑
摘要: 外层套的是 <FormItem prop="name" label="姓名:"> <FormItem prop="name" label="姓名:"> 阅读全文
posted @ 2019-03-20 08:43 彭成刚 阅读(397) 评论(0) 推荐(0) 编辑
摘要: shift Alt + up(down) copy current line ! ctrl + j show the control # vscode key 阅读全文
posted @ 2019-03-19 11:15 彭成刚 阅读(167) 评论(0) 推荐(0) 编辑
摘要: --> 拍照 --> 阅读全文
posted @ 2019-03-18 17:53 彭成刚 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 开始的时候 找不到this了,后来想起来要用 ES6的箭头函数 就有this了 阅读全文
posted @ 2019-03-18 16:59 彭成刚 阅读(890) 评论(1) 推荐(0) 编辑
摘要: 一:时间转时间戳:javascript获得时间戳的方法有四种,都是通过实例化时间对象 new Date() 来进一步获取当前的时间戳 1.var timestamp1 = Date.parse(new Date()); // 结果:1477808630000 不推荐这种办法,毫秒级别的数值被转化为0 阅读全文
posted @ 2019-03-18 16:31 彭成刚 阅读(4137) 评论(0) 推荐(0) 编辑
摘要: drawer 抽屉 弹框 在 modal的后面的解决方案 方案1 在框内 弹出 方案2 css 改写 z-index 但是不能直接在组件里写,要写在组件下面的两个div里面 阅读全文
posted @ 2019-03-18 14:05 彭成刚 阅读(1482) 评论(0) 推荐(0) 编辑
摘要: iview modal 弹框 模板 阅读全文
posted @ 2019-03-18 10:44 彭成刚 阅读(538) 评论(0) 推荐(0) 编辑
摘要: FormItem label 属性 可以改成 slot模式 就能加入br回车了 iview 测试文字测试文字: 阅读全文
posted @ 2019-03-18 09:16 彭成刚 阅读(1576) 评论(0) 推荐(0) 编辑
摘要: 摄像头调用代码 笔记本的话,本身有一个摄像头,由于用的usb摄像头,需要把笔记本的摄像头禁用后,再使用 阅读全文
posted @ 2019-03-15 15:59 彭成刚 阅读(248) 评论(0) 推荐(0) 编辑
摘要: iview tabs里面放入 i-switch 注意slot不是写在 props里面 阅读全文
posted @ 2019-03-14 15:19 彭成刚 阅读(447) 评论(0) 推荐(0) 编辑
摘要: autoHeight.vue 高度自适应 阅读全文
posted @ 2019-03-11 14:37 彭成刚 阅读(1966) 评论(0) 推荐(0) 编辑
摘要: 动态高度添加 用 window.addEventListener('resize', function () { mounted () { this.init() window.addEventListener('resize', function () { this.calcHeight() }) 阅读全文
posted @ 2019-03-08 17:18 彭成刚 阅读(1002) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 28 下一页