Skip to content

Commit

Permalink
fix: update
Browse files Browse the repository at this point in the history
  • Loading branch information
yanglbme committed Aug 27, 2024
1 parent 4a13cb6 commit cc95566
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/wx-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ class WxRenderer extends Renderer {
return `style="${styles}${addition}"`
}

styledContent = (styleLabel, content, retLabel = ``) => {
const label = retLabel || styleLabel
styledContent = (styleLabel, content, label = styleLabel) => {
return `<${label} ${this.getStyles(styleLabel)}>${content}</${label}>`
}

Expand Down

0 comments on commit cc95566

Please sign in to comment.