update readme
This commit is contained in:
parent
c06ce393e2
commit
e4cafb951e
|
@ -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--
|
||||
|
|
Loading…
Reference in New Issue