更换组件注册方式
parent
ddc6fb0ca4
commit
21cb347354
|
@ -385,4 +385,4 @@ class Input extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
customElements.define('wc-input', Input)
|
||||
Input.reg('input')
|
||||
|
|
|
@ -327,4 +327,4 @@ class WcNumber extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
customElements.define('wc-number', WcNumber)
|
||||
WcNumber.reg('number')
|
||||
|
|
|
@ -217,4 +217,4 @@ class TextArea extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
customElements.define('wc-textarea', TextArea)
|
||||
TextArea.reg('textarea')
|
||||
|
|
Loading…
Reference in New Issue