摘要: 当使用表格时,两个表格内有不同的input框,比如checkbox,和value,虽然只是差了一点点但是数据多时是不一样的这时需要给input加上:box-sizing: border-box 就可以了 input{ box-sizing: border-box; } 阅读全文
posted @ 2020-04-15 09:39 起啥名嘞 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 原 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <textarea id="copy">acret</textarea> <input ty 阅读全文
posted @ 2019-12-05 09:28 起啥名嘞 阅读(149) 评论(0) 推荐(0) 编辑
摘要: http://www.imooc.com/article/291931 阅读全文
posted @ 2019-11-18 11:55 起啥名嘞 阅读(95) 评论(0) 推荐(0) 编辑
摘要: https://github.com/haizlin/fe-interview 页面通信可用本地存储(cookie、localStorage) Message WebSocket Worker之SharedWorker BroadcastChannel 阅读全文
posted @ 2019-11-09 10:11 起啥名嘞 阅读(151) 评论(0) 推荐(0) 编辑
摘要: <el-cascader v-model="organSelecList" :change-on-select="true" :options="companyBenlist" placeholder="请选择组织级别" :props="{ value: 'id', label: 'name',ch 阅读全文
posted @ 2019-11-06 16:44 起啥名嘞 阅读(2335) 评论(0) 推荐(0) 编辑
摘要: <el-tree :data="morkDataList" show-checkbox ref="tree" node-key="id" highlight-current> </el-tree> data是要循环遍历的数组对象 show-checkbox是显示勾选 ref="tree"用于默认添加 阅读全文
posted @ 2019-11-06 16:33 起啥名嘞 阅读(759) 评论(0) 推荐(0) 编辑
摘要: var fromDa; $(function(){ document.getElementById('app').addEventListener('paste', function(e) { if(e.target.tagName=="TEXTAREA"){//防止文本粘贴时触发粘贴图片 retu 阅读全文
posted @ 2019-11-05 12:01 起啥名嘞 阅读(780) 评论(0) 推荐(1) 编辑
摘要: 阅读全文
posted @ 2019-11-05 11:57 起啥名嘞 阅读(624) 评论(0) 推荐(0) 编辑
摘要: 一、设置 1.给树形控件设置 ref="tree" node-key="id" 2.在获取数据的位置加上 this.$nextTick(() => { this.$refs.tree.setCheckedKeys([res.obj]);//获取已经设置的资源后渲染 }); 二、获取 1、权限获取同样 阅读全文
posted @ 2019-11-01 16:15 起啥名嘞 阅读(13054) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_42217154/article/details/85326795 阅读全文
posted @ 2019-07-11 15:40 起啥名嘞 阅读(1239) 评论(0) 推荐(0) 编辑