
npm插件
喵喵队摸鲨鱼
用时间换能力,用能力换时间
展开
-
element触碰展示省略内容
<template slot-scope="scope"> <el-popover placement="top-start" title="refundText" width="200" height="500" trigger="hover" :content="scope.row.scontent"> <div slot="reference">{{ellipsis(scope.row.scontent,5原创 2021-11-25 15:47:22 · 634 阅读 · 0 评论 -
elementui合并表格
// 头部合并 arraySpanMethod ({ row, column, rowIndex, columnIndex }) { let data = this.dataList let cellValue = row[column.property] if (cellValue) { // 上一条数据 let prevRow = data[rowIndex - 1] // 下一条数据 let n原创 2021-11-25 15:24:47 · 324 阅读 · 0 评论 -
vue-json-editor去除powered by ace
在css添加display: none把powered by ace隐藏掉 div.jsoneditor-menu a.jsoneditor-poweredBy { font-size: 8pt; position: absolute; right: 0; top: 0; display: none; }原创 2021-11-22 11:55:59 · 2138 阅读 · 0 评论 -
vue-json-editor高度调整
1.首先引入vue-json-editor npm install vue-json-editor --save 或 cnpm install vue-json-editor --save 2.引入组件 import vueJsonEditor from 'vue-json-editor' 3.components定义 components: { vueJsonEditor } 4.界面使用 <vueJsonEditor v-loading="bookingLoad" v-mo原创 2021-11-22 11:45:31 · 3264 阅读 · 4 评论