@dolphinweex/weex-vue-render 0.2.51 → 0.2.53
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 +9 -5
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -4178,9 +4178,9 @@ var weex$4 = {
|
|
|
4178
4178
|
* that user can use weex.document.body to walk through all dom structures in all vue instances in the page.
|
|
4179
4179
|
*/
|
|
4180
4180
|
registerVueInstance: function registerVueInstance (instance) {
|
|
4181
|
-
if (!instance instanceof Vue) {
|
|
4182
|
-
|
|
4183
|
-
}
|
|
4181
|
+
// if (!instance instanceof Vue) {
|
|
4182
|
+
// return
|
|
4183
|
+
// }
|
|
4184
4184
|
var root = instance.$root;
|
|
4185
4185
|
if (!root || !root.$el) {
|
|
4186
4186
|
return
|
|
@@ -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) || {})
|
|
10682
|
+
|
|
10683
|
+
// 给dom上标记是动画修改的style
|
|
10684
|
+
if(!dom.animation_style) { dom.animation_style = "" }
|
|
10685
|
+
dom.animation_style += toCss
|
|
10681
10686
|
|
|
10682
|
-
dom.style.cssText
|
|
10683
|
-
+= toCSSText(styleObject2rem(config.styles, DESIGN_ROOT_VALUE) || {});
|
|
10687
|
+
dom.style.cssText += toCss;
|
|
10684
10688
|
});
|
|
10685
10689
|
}
|
|
10686
10690
|
|
package/package.json
CHANGED