上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
摘要: <el-table :row-class-name="tableRowClassName" @selection-change="handleSelectionChange"> </el-table> methods:{ // 添加索引 tableRowClassName(row, index){ // 给每条数据添加一个索引 row.row.index = row.rowIndex }, del 阅读全文
posted @ 2019-11-04 11:13 惠鹏曦 阅读(8877) 评论(0) 推荐(3) 编辑
摘要: 版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。本文链接:https://blog.csdn.net/qq_27626333/article/details/87890664 能够实现在线预览,但Word、Excel、PPT文档用同样的方式打开 阅读全文
posted @ 2019-09-29 16:21 惠鹏曦 阅读(9775) 评论(1) 推荐(0) 编辑
摘要: // 切换数组位置 swapArray(arr, index1, index2) { arr[index1] = arr.splice(index2, 1, arr[index1])[0]; return arr; }, // 上移 zIndexUp(arr,index,length){ if(index+1 != length){ this.swapArray(arr, index, index 阅读全文
posted @ 2019-09-12 11:45 惠鹏曦 阅读(1318) 评论(0) 推荐(0) 编辑
摘要: // 获取焦点 let txt = document.getElementById("countRule"); let temp = txt.value; txt.focus(); let pointIndex = txt.selectionStart; let str1 = temp.substr(0,pointIndex); let str2 = temp.substr(pointIndex, 阅读全文
posted @ 2019-09-05 17:50 惠鹏曦 阅读(1006) 评论(0) 推荐(0) 编辑
摘要: // 引入组件 import Draggable from 'vuedraggable' // 使用组件 DragList 为自己封装好的组件 注意一定要使用vue的sync <DragList :sortArr.sync="sortArr"></DragList> // dragList组件 // :value 为绑定的传承 通过他来替换 <!--拖动排序列表--> <template> <ul 阅读全文
posted @ 2019-08-23 17:22 惠鹏曦 阅读(7667) 评论(0) 推荐(0) 编辑
摘要: <el-dialog custom-class="rental-pop" :close-on-click-modal="false" :append-to-body="true" title="租赁详情" width="30%" :visible.sync="dialogShow" :before-close='close' > <div class="content rental-box"> < 阅读全文
posted @ 2019-08-21 19:12 惠鹏曦 阅读(5505) 评论(0) 推荐(0) 编辑
摘要: setData:function(obj){ let that = this; let keys = []; let val,data; Object.keys(obj).forEach(function(key){ keys = key.split('.'); val = obj[key]; data = that.$data; keys.forEach(function(key2,index) 阅读全文
posted @ 2019-08-10 17:17 惠鹏曦 阅读(5017) 评论(0) 推荐(0) 编辑
摘要: 第一步:打开我的电脑 第二步:选择此电脑,右击弹出框点击属性进入控制面板 第三步:进入控制面板 第四步:搜索管理凭据 第五步:编点击右侧按钮,进行编辑用户名和密码的操作添加凭据 git:https://gitee.com用户名 密码都是你的用户名密码 注释:最后给大家推荐一个不错的源码网站,原创源码 阅读全文
posted @ 2019-07-26 10:12 惠鹏曦 阅读(2145) 评论(0) 推荐(0) 编辑
摘要: 找到 nginx > conf目录中nginx.conf 在nginx > conf目录中创建一个conf.d目录 (conf.d用于存放多个服务器配置) 目录中创建了一个admin.conf,用于在下图中被识别*conf 生产的admin.conf代码,管理admin服务器 阅读全文
posted @ 2019-07-24 18:11 惠鹏曦 阅读(775) 评论(0) 推荐(0) 编辑
摘要: 1.es6 模块化 你import 和 export export default 为默认到处,而export能导出多个方法或变量。 2. es6——class与普通构造函数的区别 class的继承方式以extends 后面跟另外一个class,super()为需继承的类的constructor 阅读全文
posted @ 2019-07-04 16:04 惠鹏曦 阅读(215) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页