摘要: 1.对某列进行排序 {headerName: '性别', field: 'gender', sortable: true}, sortable: true对某列进行排序. 8.列固定 HTML中加入rowHeight = 50 可以改变除了表头所有的行高 阅读全文
posted @ 2019-03-15 15:29 笨笨白 阅读(2806) 评论(0) 推荐(0) 编辑
摘要: 父容器中写入 .contain{display:flex;} 设定为flex布局 align-items: center 为垂直方向对齐方式 justify-content:flex-start 为水平方向对齐方式 align-content:flex-start; 当子容器多行排列时,设置行与行之 阅读全文
posted @ 2019-03-15 15:22 笨笨白 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 感谢同事封装的一个 WebSocket1.js 页面中调用WebSocket1.js import {webSocketClient} from '@/api/websocket1' methods中 阅读全文
posted @ 2019-03-15 15:16 笨笨白 阅读(1959) 评论(0) 推荐(0) 编辑
摘要: 我的笔记 config > index.js中 main.js中 页面中 阅读全文
posted @ 2019-03-15 15:01 笨笨白 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 项目中有好多弹框,一开始让他们公用一个弹框,弹框中再加载不同的子组件,并不好用,下面的提交按钮得写好多判断。 页面有点乱。想着直接各个页面中直接弹框,后续再把各种按钮提交的值传给父组件。。。。。。 父子传值搞的脑袋有点短路,要消化吸收要不断学习。 主页面中 阅读全文
posted @ 2019-03-15 13:54 笨笨白 阅读(1076) 评论(0) 推荐(0) 编辑