update readme

This commit is contained in:
dntzhang 2018-10-29 21:25:46 +08:00
parent c06ce393e2
commit e4cafb951e
2 changed files with 6 additions and 6 deletions

View File

@ -147,9 +147,9 @@ import { render, WeElement, tag, observe } from "omi"
@tag("my-counter")
class MyApp extends WeElement {
data = {
count: 0
}
data = {
count: 0
}
sub = () => {
this.data.count--

View File

@ -146,9 +146,9 @@ import { render, WeElement, tag, observe } from "omi"
@tag("my-counter")
class MyApp extends WeElement {
data = {
count: 0
}
data = {
count: 0
}
sub = () => {
this.data.count--