Skip to content

Commit

Permalink
fix(*): fix code.
Browse files Browse the repository at this point in the history
  • Loading branch information
shangqunfeng committed Oct 18, 2024
1 parent 3b5952c commit cd97939
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ function normalizeBackgroundSize (backgroundSize: Exclude<ExtendedViewStyle['bac

function preParseImage (imageStyle?: ExtendedViewStyle) {
const { backgroundImage = '', backgroundSize = ['auto'], backgroundPosition = [0, 0] } = imageStyle || {}
const { src, linearInfo, type } = parseBgImage(backgroundImage)
const { type, src, linearInfo } = parseBgImage(backgroundImage)

return {
src,
Expand Down

0 comments on commit cd97939

Please sign in to comment.