mirror of https://github.com/ElemeFE/element
fix select icon animation
parent
d41f602580
commit
9c71e58c15
|
@ -11,6 +11,7 @@
|
||||||
- Step: 修复自定义 icon 的样式
|
- Step: 修复自定义 icon 的样式
|
||||||
- 修复 Tree 组件 checkbox 点击失效的问题
|
- 修复 Tree 组件 checkbox 点击失效的问题
|
||||||
- Breadcrumb 增加路由跳转的功能
|
- Breadcrumb 增加路由跳转的功能
|
||||||
|
- 修复 可清空的 Select 中清空按钮的不恰当动画
|
||||||
|
|
||||||
### 1.0.0-rc.6
|
### 1.0.0-rc.6
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
import ElTag from 'element-ui/packages/tag/index.js';
|
import ElTag from 'element-ui/packages/tag/index.js';
|
||||||
import debounce from 'throttle-debounce/debounce';
|
import debounce from 'throttle-debounce/debounce';
|
||||||
import Clickoutside from 'element-ui/src/utils/clickoutside';
|
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 {
|
export default {
|
||||||
mixins: [emitter],
|
mixins: [emitter],
|
||||||
|
@ -287,7 +287,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} 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');
|
addClass(this.$el.querySelector('.el-input__icon'), 'is-reverse');
|
||||||
}
|
}
|
||||||
this.broadcast('select-dropdown', 'updatePopper');
|
this.broadcast('select-dropdown', 'updatePopper');
|
||||||
|
|
Loading…
Reference in New Issue