Commit 19dd8cf2 by luyt

other:添加文档方法介绍

1 parent 123f20d3
...@@ -151,7 +151,11 @@ ...@@ -151,7 +151,11 @@
// column 属性透传 // column 属性透传
columnattrs:{ columnattrs:{
'class-name':'custom-class' 'class-name':'custom-class'
} },
// column 事件透传
// columnlisteners:{
// click: this.fn
// }
}, },
{ {
label: '直播间名称', label: '直播间名称',
......
...@@ -321,6 +321,9 @@ export default { ...@@ -321,6 +321,9 @@ export default {
} }
}) })
}, },
// @vuese
// 设置表格禁用
// @arg row 每一行表格内容
checkSelectable(row) { checkSelectable(row) {
// 设置禁止选中的行数据 // 设置禁止选中的行数据
if (this.tableParams.checkSelectKey && this.tableParams.checkSelectVal.length > 0) { if (this.tableParams.checkSelectKey && this.tableParams.checkSelectVal.length > 0) {
...@@ -344,6 +347,9 @@ export default { ...@@ -344,6 +347,9 @@ export default {
this.mutiSelectArr[this.tableParams.mutiSelectName] = [] this.mutiSelectArr[this.tableParams.mutiSelectName] = []
this.$refs[this.tableParams.mutiSelectName + 'MutiTable'].clearSelection() this.$refs[this.tableParams.mutiSelectName + 'MutiTable'].clearSelection()
}, },
// @vuese
// 设置表格高度
// @arg navHeight 默认为0
setTableHeightFun(navHeight = 0) { setTableHeightFun(navHeight = 0) {
// 设置表格高度 // 设置表格高度
//navHeight 传值底部高度 //navHeight 传值底部高度
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!