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
01c7b9ac
Commit
01c7b9ac
authored
Oct 03, 2016
by
杨奕
Committed by
GitHub
Oct 03, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #215 from QingWei-Li/fix/date-picker
TimePicker: fix incorrectly hide panel,fixed #210
parents
74c7513f
a8df9de2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
CHANGELOG.md
CHANGELOG.md
+1
-0
packages/date-picker/src/panel/time.vue
packages/date-picker/src/panel/time.vue
+1
-1
packages/date-picker/src/picker.vue
packages/date-picker/src/picker.vue
+3
-3
No files found.
CHANGELOG.md
View file @
01c7b9ac
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
*2016-XX-XX*
*2016-XX-XX*
-
修复 Tabs 切换后 Tab-panel 被销毁的问题
-
修复 Tabs 切换后 Tab-panel 被销毁的问题
-
修复 TimePicker 错误的隐藏面板
-
修复 Table Cell 的样式, #204
-
修复 Table Cell 的样式, #204
### 1.0.0-rc.5
### 1.0.0-rc.5
...
...
packages/date-picker/src/panel/time.vue
View file @
01c7b9ac
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
</transition>
</transition>
</
template
>
</
template
>
<
script
type=
"text/
ecmascript-6
"
>
<
script
type=
"text/
babel
"
>
import
{
limitRange
}
from
'
../util
'
;
import
{
limitRange
}
from
'
../util
'
;
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
...
...
packages/date-picker/src/picker.vue
View file @
01c7b9ac
...
@@ -211,7 +211,7 @@ export default {
...
@@ -211,7 +211,7 @@ export default {
watch
:
{
watch
:
{
pickerVisible
(
val
)
{
pickerVisible
(
val
)
{
val
===
true
?
this
.
showPicker
()
:
this
.
hidePicker
();
val
?
this
.
showPicker
()
:
this
.
hidePicker
();
},
},
value
(
val
)
{
value
(
val
)
{
this
.
dispatch
(
'
form-item
'
,
'
el.form.change
'
);
this
.
dispatch
(
'
form-item
'
,
'
el.form.change
'
);
...
@@ -289,8 +289,8 @@ export default {
...
@@ -289,8 +289,8 @@ export default {
handleFocus
()
{
handleFocus
()
{
const
type
=
this
.
type
;
const
type
=
this
.
type
;
if
(
HAVE_TRIGGER_TYPES
.
indexOf
(
type
)
!==
-
1
)
{
if
(
HAVE_TRIGGER_TYPES
.
indexOf
(
type
)
!==
-
1
&&
!
this
.
pickerVisible
)
{
this
.
pickerVisible
=
!
this
.
pickerVisibl
e
;
this
.
pickerVisible
=
tru
e
;
}
}
this
.
$emit
(
'
focus
'
,
this
);
this
.
$emit
(
'
focus
'
,
this
);
},
},
...
...
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