doc - update readme

This commit is contained in:
dntzhang 2019-07-25 10:46:31 +08:00
parent e609d642f9
commit e55f57b145
2 changed files with 2 additions and 2 deletions

View File

@ -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']
}

View File

@ -206,7 +206,7 @@ Omi Store provides a way to pass data through the component tree without having
const { define, WeElement, html, render } = Omi
define('my-counter', class extends WeElement {
initUse() {
use() {
return ['count']
}
//or