@dolphinweex/weex-vue-render 0.2.51 → 0.2.52
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/dist/index.common.js +6 -2
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -10678,9 +10678,13 @@ function transitionOnce (vnode, config, callback) {
|
|
|
10678
10678
|
if (config.styles["transform"]) {
|
|
10679
10679
|
config.styles["transform"] = config.styles["transform"].replace(/(translate\([^,]+,[^,]+),[^)]+\)/, '$1)')
|
|
10680
10680
|
}
|
|
10681
|
+
var toCss = toCSSText(styleObject2rem(config.styles, DESIGN_ROOT_VALUE) || {})
|
|
10681
10682
|
|
|
10682
|
-
dom
|
|
10683
|
-
|
|
10683
|
+
// 给dom上标记是动画修改的style
|
|
10684
|
+
if(!dom.animation_style) { dom.animation_style = "" }
|
|
10685
|
+
dom.animation_style += toCss
|
|
10686
|
+
|
|
10687
|
+
dom.style.cssText += toCss;
|
|
10684
10688
|
});
|
|
10685
10689
|
}
|
|
10686
10690
|
|
package/package.json
CHANGED