fix: fix error

This commit is contained in:
当耐特 2019-09-09 15:48:12 +08:00 committed by GitHub
parent e3e103b6a6
commit 423fc6f6a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
import { render, WeElement, define, html } from '../../src/omi'
define("todo-list", function(props) {
define("todo-list", _ => {
return html`
<ul>
${props.items.map(
${_.props.items.map(
item => html`
<li key=${item.id}>${item.text}</li>
`