diff --git a/src/core/view/plugins/wxs/component-descriptor.js b/src/core/view/plugins/wxs/component-descriptor.js index 7cdab334c1b5c99866254db0a4fa9079881404ad..c9015f0c475644232d01be1ace55b59a119bbb58 100644 --- a/src/core/view/plugins/wxs/component-descriptor.js +++ b/src/core/view/plugins/wxs/component-descriptor.js @@ -74,7 +74,8 @@ class ComponentDescriptor { style = parseStyleText(style) } if (isPlainObject(style)) { - this.$el.__wxsStyle = style + this.$el.__wxsStyle = style + this.$vm.$forceUpdate() } return this }