agel table
1.0.0
This component is suitable for vue2.x. For vue3.x, please transfer it from element-plus-crx.
The idea of this component is to use a table object to do all operations. Even if there are multiple lists on the page, there is no need to define a bunch of data1, data2, loading1, loading2... and other variables in data. It is simpler and clearer and suitable for vue2+elementUI. .
npm install agel-table --save
< template >
< agel-table v-model =" table " > </ agel-table >
</ template >
< script >
export default {
data ( ) {
return {
table : {
// ...
} ,
} ;
} ,
} ;
</ script >