This commit is contained in:
Pan 2019-04-16 14:54:09 +08:00
parent 102f82afec
commit e727521631
1 changed files with 1 additions and 2 deletions

View File

@ -1,11 +1,10 @@
import { addResizeListener, removeResizeListener } from 'element-ui/src/utils/resize-event'
/**
* How to use
* <el-table height="100px" v-el-height-adaptive-table="{bottomOffset: 30}">...</el-table>
* el-table height is must be set
* bottomOffset: 30(default) // The height of the table from the bottom of the page.
* bottomOffset: 30(default) // The height of the table from the bottom of the page.
*/
const doResize = (el, binding, vnode) => {