Skip to content

Commit bdb1048

Browse files
authored
Update src/guide/extras/web-components.md
1 parent 46575ad commit bdb1048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/extras/web-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ customElements.define('some-element', SomeElement)
294294
declare module 'vue' {
295295
interface GlobalComponents {
296296
// 请务必在此处输入 Vue 组件类型
297-
// SomeComponent,*而不是* SomeElement
297+
// (SomeComponent,*而不是* SomeElement)
298298
// 自定义元素的名称中需要连字符,
299299
// 因此请在此处使用连字符元素名称。
300300
'some-element': typeof SomeComponent

0 commit comments

Comments
 (0)