mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 03:11:15 +00:00
perf: add transition-property (#4389)
This commit is contained in:
@@ -88,7 +88,7 @@ export default createComponent({
|
||||
imageStyle() {
|
||||
const { scale } = this;
|
||||
const style = {
|
||||
transition: this.zooming || this.moving ? '' : '.3s all'
|
||||
transitionDuration: this.zooming || this.moving ? '0s' : '.3s'
|
||||
};
|
||||
|
||||
if (scale !== 1) {
|
||||
|
Reference in New Issue
Block a user