doc - update introduction.md
This commit is contained in:
parent
3f5598ad21
commit
b7bdcdadcb
|
@ -42,8 +42,8 @@ import { render, h } from 'omi'
|
|||
const Counter = (props, store) => {
|
||||
return (
|
||||
h('div', {}, [
|
||||
h('button', { onClick: store.sub }, '-')
|
||||
h('text', {}, store.count)
|
||||
h('button', { onClick: store.sub }, '-'),
|
||||
h('text', {}, store.count),
|
||||
h('button', { onClick: store.add }, '+')
|
||||
])
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue