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
98bb0a10
Commit
98bb0a10
authored
Sep 21, 2016
by
baiyaaaaa
Committed by
GitHub
Sep 21, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #113 from Leopoldthecoder/master
doc fix
parents
98f39355
947cd99d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
3 deletions
+14
-3
examples/app.vue
examples/app.vue
+1
-0
examples/components/footer-nav.vue
examples/components/footer-nav.vue
+2
-0
examples/docs/datetime-picker.md
examples/docs/datetime-picker.md
+3
-2
examples/docs/tree.md
examples/docs/tree.md
+8
-1
No files found.
examples/app.vue
View file @
98bb0a10
...
@@ -97,6 +97,7 @@
...
@@ -97,6 +97,7 @@
created
()
{
created
()
{
window
.
addEventListener
(
'
hashchange
'
,
()
=>
{
window
.
addEventListener
(
'
hashchange
'
,
()
=>
{
document
.
body
.
scrollTop
=
0
;
document
.
body
.
scrollTop
=
0
;
document
.
documentElement
.
scrollTop
=
0
;
});
});
}
}
};
};
...
...
examples/components/footer-nav.vue
View file @
98bb0a10
...
@@ -51,10 +51,12 @@
...
@@ -51,10 +51,12 @@
.footer-nav-left
{
.footer-nav-left
{
float
:
left
;
float
:
left
;
margin-left
:
-4px
;
}
}
.footer-nav-right
{
.footer-nav-right
{
float
:
right
;
float
:
right
;
margin-right
:
-4px
;
}
}
</
style
>
</
style
>
...
...
examples/docs/datetime-picker.md
View file @
98bb0a10
...
@@ -170,7 +170,7 @@
...
@@ -170,7 +170,7 @@
v-model=
"value3"
v-model=
"value3"
type=
"datetimerange"
type=
"datetimerange"
placeholder=
"选择时间范围"
placeholder=
"选择时间范围"
style=
"width:
26
0px"
>
style=
"width:
35
0px"
>
</el-date-picker>
</el-date-picker>
</div>
</div>
<div
class=
"block"
>
<div
class=
"block"
>
...
@@ -180,7 +180,8 @@
...
@@ -180,7 +180,8 @@
type=
"datetimerange"
type=
"datetimerange"
:picker-options=
"pickerOptions2"
:picker-options=
"pickerOptions2"
placeholder=
"选择时间范围"
placeholder=
"选择时间范围"
style=
"width:260px"
>
align=
"right"
style=
"width:350px"
>
</el-date-picker>
</el-date-picker>
</div>
</div>
</template>
</template>
...
...
examples/docs/tree.md
View file @
98bb0a10
...
@@ -63,8 +63,15 @@
...
@@ -63,8 +63,15 @@
if (node.level === -1) {
if (node.level === -1) {
return resolve(
[
{ name: 'Root1' }, { name: 'Root2' }
]
);
return resolve(
[
{ name: 'Root1' }, { name: 'Root2' }
]
);
}
}
var hasChild = Math.random() > 0.5;
if (node.level > 4) return resolve(
[]
);
if (node.level > 4) return resolve(
[]
);
var hasChild;
if (node.data.name === 'Root1') {
hasChild = true;
} else if (node.data.name === 'Root2') {
hasChild = false;
} else {
hasChild = Math.random() > 0.5;
}
setTimeout(function() {
setTimeout(function() {
var data;
var data;
...
...
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