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
4508f2a6
Commit
4508f2a6
authored
Nov 01, 2017
by
Leopoldthecoder
Committed by
杨奕
Nov 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DatePicker: fix range in Chromium 53 - 57
parent
9b6a2107
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
11 deletions
+12
-11
build/deploy-faas.sh
build/deploy-faas.sh
+0
-2
examples/components/side-nav.vue
examples/components/side-nav.vue
+1
-5
examples/docs/en-US/quickstart.md
examples/docs/en-US/quickstart.md
+2
-2
examples/docs/zh-CN/quickstart.md
examples/docs/zh-CN/quickstart.md
+2
-2
packages/date-picker/src/panel/date-range.vue
packages/date-picker/src/panel/date-range.vue
+7
-0
No files found.
build/deploy-faas.sh
View file @
4508f2a6
...
...
@@ -8,9 +8,7 @@ git clone -b gh-pages https://github.com/ElemeFE/element.git && cd element
SUB_FOLDER
=
'1.4'
mkdir
$SUB_FOLDER
# rm -rf *.js *.css *.map static
rm
-rf
$SUB_FOLDER
/
**
# cp -rf ../../examples/element-ui/** .
cp
-rf
../../examples/element-ui/
**
$SUB_FOLDER
/
cd
../..
...
...
examples/components/side-nav.vue
View file @
4508f2a6
...
...
@@ -259,11 +259,7 @@
const
xhr
=
new
XMLHttpRequest
();
xhr
.
onreadystatechange
=
_
=>
{
if
(
xhr
.
readyState
===
4
&&
xhr
.
status
===
200
)
{
const
versions
=
JSON
.
parse
(
xhr
.
responseText
);
this
.
versions
=
Object
.
keys
(
versions
).
slice
(
-
2
).
reduce
((
prev
,
next
)
=>
{
prev
[
next
]
=
versions
[
next
];
return
prev
;
},
{});
this
.
versions
=
JSON
.
parse
(
xhr
.
responseText
);
}
};
xhr
.
open
(
'
GET
'
,
'
/versions.json
'
);
...
...
examples/docs/en-US/quickstart.md
View file @
4508f2a6
...
...
@@ -42,8 +42,8 @@ Typical configurations for these config files are:
"build"
:
"cross-env NODE_ENV=production webpack --progress --hide-modules"
},
"dependencies"
:
{
"element-ui"
:
"
^1.4.0
"
,
"vue"
:
"
^2.3.0
"
"element-ui"
:
"
legacy
"
,
"vue"
:
"
2.5.2
"
},
"devDependencies"
:
{
"babel-core"
:
"^6.0.0"
,
...
...
examples/docs/zh-CN/quickstart.md
View file @
4508f2a6
...
...
@@ -42,8 +42,8 @@
"build"
:
"cross-env NODE_ENV=production webpack --progress --hide-modules"
},
"dependencies"
:
{
"element-ui"
:
"
^1.4.0
"
,
"vue"
:
"
^2.3.0
"
"element-ui"
:
"
legacy
"
,
"vue"
:
"
2.5.2
"
},
"devDependencies"
:
{
"babel-core"
:
"^6.0.0"
,
...
...
packages/date-picker/src/panel/date-range.vue
View file @
4508f2a6
...
...
@@ -387,6 +387,13 @@
this
.
onPick
&&
this
.
onPick
(
val
);
this
.
maxDate
=
val
.
maxDate
;
this
.
minDate
=
val
.
minDate
;
// workaround for https://github.com/ElemeFE/element/issues/7539, should remove this block when we don't have to care about Chromium 55 - 57
setTimeout
(()
=>
{
this
.
maxDate
=
val
.
maxDate
;
this
.
minDate
=
val
.
minDate
;
},
10
);
if
(
!
close
||
this
.
showTime
)
return
;
this
.
handleConfirm
();
},
...
...
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