fix: firefox trigger input change when reflow #2151
parent
e5391de807
commit
aa63a8b68d
|
@ -98,7 +98,7 @@ export default {
|
||||||
activeKey: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
activeKey: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
||||||
},
|
},
|
||||||
updated() {
|
updated() {
|
||||||
this.$nextTick(function() {
|
setTimeout(() => {
|
||||||
componentDidUpdate(this);
|
componentDidUpdate(this);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
@ -52,7 +52,7 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
updated() {
|
updated() {
|
||||||
this.$nextTick(() => {
|
setTimeout(() => {
|
||||||
this.updatedCal(this.prevProps);
|
this.updatedCal(this.prevProps);
|
||||||
this.prevProps = { ...this.$props };
|
this.prevProps = { ...this.$props };
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue