| | |
| | | }, |
| | | rowStyle: { |
| | | type: Object || Function, |
| | | default: () => { }, |
| | | default: () => null, |
| | | }, |
| | | tableData: { |
| | | type: Array, |
| | |
| | | }, |
| | | mounted() { |
| | | this.calculateSpanInfo(); |
| | | this.$nextTick(() => { |
| | | this.$refs.multipleTable.doLayout(); |
| | | }); |
| | | }, |
| | | methods: { |
| | | getWidth(row) { |
| | |
| | | this.$emit("pagination", { page: page, limit: limit }); |
| | | }, |
| | | indexMethod(index) { |
| | | // return index * 2; |
| | | return (this.page.current - 1) * this.page.size + index + 1; |
| | | }, |
| | | // 点击单元格link事件 |
| | |
| | | } |
| | | |
| | | >>>.el-table__body-wrapper::-webkit-scrollbar { |
| | | height: 14px; |
| | | height: 10px; |
| | | /* 设置滚动条宽度 */ |
| | | } |
| | | </style> |