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
ad861242
Commit
ad861242
authored
Mar 06, 2019
by
hetech
Committed by
GitHub
Mar 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc: fix TimePicker page style (#14579)
Docs: fix TimePicker page style
parent
848e69d4
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
3118 deletions
+14
-3118
build/deploy-faas.sh
build/deploy-faas.sh
+2
-1
examples/assets/restaurants.json
examples/assets/restaurants.json
+0
-3108
examples/demo-styles/datetime-picker.scss
examples/demo-styles/datetime-picker.scss
+1
-1
examples/pages/template/component.tpl
examples/pages/template/component.tpl
+11
-8
No files found.
build/deploy-faas.sh
View file @
ad861242
#! /bin/sh
set
-ex
mkdir
temp_web
npm run deploy:build
cd
temp_web
...
...
@@ -14,5 +15,5 @@ cp -rf ../../examples/element-ui/** $SUB_FOLDER/
cd
../..
# deploy domestic site
faas deploy alpha
faas deploy alpha
-P
element
rm
-rf
temp_web
\ No newline at end of file
examples/assets/restaurants.json
deleted
100644 → 0
View file @
848e69d4
This diff is collapsed.
Click to expand it.
examples/demo-styles/datetime-picker.scss
View file @
ad861242
.demo-block.demo-datetime-picker
.source
{
.demo-block.demo-datetime-picker
.source
>
div
{
padding
:
0
;
display
:
flex
;
}
...
...
examples/pages/template/component.tpl
View file @
ad861242
...
...
@@ -299,14 +299,6 @@
bus
.
$on
(
'
user-theme-config-visible
'
,
val
=>
{
this
.
isThemeConfigVisible
=
val
;
});
window
.
addEventListener
(
'
hashchange
'
,
()
=>
{
if
(
location
.
href
.
match
(
/#/g
).
length
<
2
)
{
document
.
documentElement
.
scrollTop
=
document
.
body
.
scrollTop
=
0
;
this
.
renderAnchorHref
();
}
else
{
this
.
goAnchor
();
}
});
},
mounted
()
{
if
(
window
.
userThemeConfigVisible
)
{
...
...
@@ -325,6 +317,17 @@
},
beforeDestroy
()
{
this
.
componentScrollBox
.
removeEventListener
(
'
scroll
'
,
this
.
throttledScrollHandler
);
},
beforeRouteUpdate
(
to
,
from
,
next
)
{
next
();
setTimeout
(()
=>
{
if
(
location
.
href
.
match
(
/#/g
).
length
<
2
)
{
document
.
documentElement
.
scrollTop
=
document
.
body
.
scrollTop
=
0
;
this
.
renderAnchorHref
();
}
else
{
this
.
goAnchor
();
}
},
100
);
}
};
</script>
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