update readme
This commit is contained in:
parent
6e3a189e92
commit
f9c128f3ee
|
@ -264,6 +264,7 @@ export default {
|
|||
```js
|
||||
class TodoApp extends WeElement {
|
||||
static get data() {
|
||||
//如果你用了 store,这个只是用来声明依赖,按需 Path Updating
|
||||
return { items: [], text: '' }
|
||||
}
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue