Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
8b535568
Commit
8b535568
authored
Nov 08, 2016
by
fireyy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs improve: el-tabs demo
parent
947b837f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
examples/docs/zh-CN/tabs.md
examples/docs/zh-CN/tabs.md
+6
-6
No files found.
examples/docs/zh-CN/tabs.md
View file @
8b535568
...
...
@@ -33,8 +33,8 @@
```
html
<template>
<el-tabs>
<el-tab-pane
v-for=
"tab in tabs"
:label=
"tab.label"
>
{{tab.content}}
</el-tab-pane>
<el-tabs
:active-name=
"activeName"
>
<el-tab-pane
v-for=
"tab in tabs"
:label=
"tab.label"
:name=
"tab.name"
>
{{tab.content}}
</el-tab-pane>
</el-tabs>
</template>
<script>
...
...
@@ -42,10 +42,10 @@
data
()
{
return
{
tabs
:
[
{
label
:
'
用户管理
'
,
content
:
''
},
{
label
:
'
配置管理
'
,
content
:
''
},
{
label
:
'
角色管理
'
,
content
:
''
},
{
label
:
'
定时任务补偿
'
,
content
:
''
}
{
label
:
'
用户管理
'
,
content
:
''
,
name
:
'
first
'
},
{
label
:
'
配置管理
'
,
content
:
''
,
name
:
'
second
'
},
{
label
:
'
角色管理
'
,
content
:
''
,
name
:
'
third
'
},
{
label
:
'
定时任务补偿
'
,
content
:
''
,
name
:
'
last
'
}
]
};
}
...
...
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