Skip to content

Commit

Permalink
compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
sky-admin committed Apr 29, 2019
1 parent 55d2f4e commit 6fa3ae6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/webpack-plugin/lib/runtime/injectHelper.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ function isDef (v) {
}

function stringifyClass (value) {
if (value === undefined) return ''
if (likeArray(value)) {
return stringifyArray(value)
}
Expand Down Expand Up @@ -178,6 +179,7 @@ function mergeObjectArray (arr) {
}

function normalizeDynamicStyle (value) {
if (value === undefined) return {}
if (likeArray(value)) {
return mergeObjectArray(value)
}
Expand Down

0 comments on commit 6fa3ae6

Please sign in to comment.