Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 49f37cd

Browse files
committed
feat: 去掉无用代码
1 parent 4f7a966 commit 49f37cd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎src/components/node-red/nodes/VueHtmlNode.js‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,8 @@ class VueHtmlNode extends HtmlNode {
1313
this.r.component.props.text = String(Number(this.r.component.props.text) + Number(i))
1414
}
1515
})
16-
this.d = h('div', null, [
17-
this.r
18-
])
1916
this.app = createApp({
20-
render: () => this.d
17+
render: () => this.r
2118
})
2219
}
2320
setHtml(rootEl) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /