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
9c71e58c
Commit
9c71e58c
authored
Oct 13, 2016
by
Leopoldthecoder
Committed by
cinwell.li
Oct 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix select icon animation
parent
d41f6025
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
CHANGELOG.md
CHANGELOG.md
+1
-0
packages/select/src/select.vue
packages/select/src/select.vue
+3
-2
No files found.
CHANGELOG.md
View file @
9c71e58c
...
...
@@ -11,6 +11,7 @@
-
Step: 修复自定义 icon 的样式
-
修复 Tree 组件 checkbox 点击失效的问题
-
Breadcrumb 增加路由跳转的功能
-
修复 可清空的 Select 中清空按钮的不恰当动画
### 1.0.0-rc.6
...
...
packages/select/src/select.vue
View file @
9c71e58c
...
...
@@ -70,7 +70,7 @@
import
ElTag
from
'
element-ui/packages/tag/index.js
'
;
import
debounce
from
'
throttle-debounce/debounce
'
;
import
Clickoutside
from
'
element-ui/src/utils/clickoutside
'
;
import
{
addClass
,
removeClass
}
from
'
wind-dom/src/class
'
;
import
{
addClass
,
removeClass
,
hasClass
}
from
'
wind-dom/src/class
'
;
export
default
{
mixins
:
[
emitter
],
...
...
@@ -287,7 +287,8 @@
}
}
}
else
{
if
(
this
.
$el
.
querySelector
(
'
.el-input__icon
'
))
{
let
icon
=
this
.
$el
.
querySelector
(
'
.el-input__icon
'
);
if
(
icon
&&
!
hasClass
(
icon
,
'
el-icon-circle-close
'
))
{
addClass
(
this
.
$el
.
querySelector
(
'
.el-input__icon
'
),
'
is-reverse
'
);
}
this
.
broadcast
(
'
select-dropdown
'
,
'
updatePopper
'
);
...
...
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