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