Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
npm
/
glsx-components
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 19dd8cf2
authored
Apr 20, 2022
by
luyt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
other:添加文档方法介绍
1 parent
123f20d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
src/packages/Table/src/GLTable.md
src/packages/Table/src/index.vue
src/packages/Table/src/GLTable.md
View file @
19dd8cf
...
@@ -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
:
'直播间名称'
,
...
...
src/packages/Table/src/index.vue
View file @
19dd8cf
...
@@ -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 传值底部高度
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment