Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周远喜
mes-ui
Commits
622974a4
Commit
622974a4
authored
Apr 02, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
table 提交到共用
parent
6ceaea37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
tb.vue
components/tb.vue
+18
-0
No files found.
components/tb.vue
0 → 100644
View file @
622974a4
<
template
>
<Table
:border=
"tbPro.isBorder"
stripe
:columns=
"tbPro.columns"
:stripe=
"tbPro.stripe"
:data=
"tbPro.data"
:highlight-row=
"tbPro.highlight"
:loading=
"tbPro.loading"
:height=
"tbPro.height"
:content=
"tbPro.cur"
@
on-row-click=
"rowclick"
class=
"tableCommon"
></Table>
</
template
>
<
script
>
export
default
{
name
:
'tb'
,
props
:[
//'columns1','data1','isBorder'
'tbPro'
],
methods
:{
rowclick
(
rowdata
,
index
){
this
.
$emit
(
'rowclick'
,
rowdata
,
index
)
}
}
}
</
script
>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment