doc - update introduction.md

This commit is contained in:
dntzhang 2019-07-21 09:53:27 +08:00
parent 3f5598ad21
commit b7bdcdadcb
1 changed files with 2 additions and 2 deletions

View File

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