iview-table-page
Combines Table and Page components of iview UI together. Based on Vue 2.x.
Install
$ npm i --save iview-table-page
or
$ yarn add iview-table-page
API
Demos
由于iview page组件show-elevator属性可以显示跳转页面,但是在跳转页面的输入框输入页面后,页面没有跳转。iview-table-page组件解决了这个问题。
Quick Start
全局注册组件
Import modules and set up settings in main.js
:
Vue
局部注册组件
<template><div> <iviewTablePage border :columns="columns7" :data="data6" :total='total' > </iviewTablePage></div></template> <script> components: iviewTablePage { return columns7: title: 'Name' key: 'name' { return } title: 'Age' key: 'age' title: 'Address' key: 'address' title: 'Action' key: 'action' width: 150 align: 'center' { return } data6: name: 'John Brown' age: 18 address: 'New York No. 1 Lake Park' name: 'Jim Green' age: 24 address: 'London No. 1 Lake Park' name: 'Joe Black' age: 30 address: 'Sydney No. 1 Lake Park' name: 'Jon Snow' age: 26 address: 'Ottawa No. 2 Lake Park' total: 4 }</script>
LICENSE
MIT