three-base 1.0.80 → 1.0.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Transition.js +1 -1
- package/lib/Transition.ts +1 -1
- package/package.json +1 -1
package/lib/Transition.js
CHANGED
|
@@ -73,7 +73,7 @@ export default class Transition {
|
|
|
73
73
|
// 设置动画对象的回调事件
|
|
74
74
|
onChange(onChangeCall) {
|
|
75
75
|
this.onChangeCall = onChangeCall;
|
|
76
|
-
|
|
76
|
+
this.onChangeCall(this.getJson());
|
|
77
77
|
return this;
|
|
78
78
|
}
|
|
79
79
|
// 计算当前 key 的值
|
package/lib/Transition.ts
CHANGED
|
@@ -100,7 +100,7 @@ export default class Transition {
|
|
|
100
100
|
// 设置动画对象的回调事件
|
|
101
101
|
onChange(onChangeCall: (josn: { [key: string]: number }) => void): this {
|
|
102
102
|
this.onChangeCall = onChangeCall;
|
|
103
|
-
|
|
103
|
+
this.onChangeCall(this.getJson());
|
|
104
104
|
return this;
|
|
105
105
|
}
|
|
106
106
|
|