[bugfix] PullRefresh: transform style (#3256) (#3258)

This commit is contained in:
Phyng
2019-05-05 20:05:39 +08:00
committed by neverland
parent 8b9ba9f356
commit cbfa64fcab
3 changed files with 4 additions and 4 deletions

View File

@@ -144,7 +144,7 @@ export default sfc({
const text = this[`${status}Text`] || t(status);
const style = {
transition: `${this.duration}ms`,
transform: `translate3d(0,${this.height}px, 0)`
transform: this.height ? `translate3d(0,${this.height}px, 0)` : ''
};
const Status = this.slots(status) || [