set-column
v1.0.1
Published
set table columns, show or hide
Downloads
2
Readme
set-column
set table columns, show or hide
Build Setup
# install dependencies
npm install set-column --save
import set-column from 'set-column'
export default {
name: 'example',
components: { set-column },
data() {
return {
columnList: [],
showSetColumn: false
}
},
methods: {
handleSetColumn(list) {
}
}
}
<set-column
v-if="showSetColumn"
:fieldList="columnList"
@closeBox="showSetColumn=false"
@checkedList="handleSetColumn">
</set-column>
For a detailed explanation on how things work, check out the guide and docs for vue-loader.