This commit is contained in:
07akioni 2020-07-31 23:31:20 +08:00
parent ce8becefa4
commit a771ce32ae

View File

@ -96,7 +96,7 @@ export default {
syntheticTheme (value) { syntheticTheme (value) {
if (this.avoidHollowOut) return if (this.avoidHollowOut) return
cache() cache()
this.$nextTick().then(() => { this.$nextTick(() => {
this.updateHollowOutAffect(value) this.updateHollowOutAffect(value)
uncache() uncache()
}) })
@ -157,7 +157,7 @@ export default {
if (this.avoidHollowOut) return if (this.avoidHollowOut) return
cache() cache()
this.updateHollowOutAffect() this.updateHollowOutAffect()
this.$nextTick().then(() => { this.$nextTick(() => {
void this.$el.offsetHeight void this.$el.offsetHeight
this.hollowOutColorTransitionDisabled = false this.hollowOutColorTransitionDisabled = false
uncache() uncache()