doc - update readme
This commit is contained in:
parent
e609d642f9
commit
e55f57b145
|
@ -245,7 +245,7 @@ export default class oButton extends WeElement<ButtonProps, {}> {
|
|||
const { define, WeElement, html, render } = Omi
|
||||
|
||||
define('my-counter', class extends WeElement {
|
||||
initUse() {
|
||||
use() {
|
||||
return ['count']
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue