diff --git a/src/core/view/components/movable-view/index.vue b/src/core/view/components/movable-view/index.vue index 5a611084081901de76ee448f0758fe8613a328b0..a290703a6318480b0d75c756f2788826212b4b1f 100644 --- a/src/core/view/components/movable-view/index.vue +++ b/src/core/view/components/movable-view/index.vue @@ -126,6 +126,10 @@ export default { scaleValue: { type: [Number, String], default: 1 + }, + animation: { + type: [Boolean, String], + default: true } }, data () { @@ -566,6 +570,10 @@ export default { var limitXY = this._getLimitXY(x, y) x = limitXY.x y = limitXY.y + if (!this.animation) { + this._setTransform(x, y, scale, source, r, o) + return + } this._STD._springX._solution = null this._STD._springY._solution = null this._STD._springScale._solution = null