regularjs / regular-state

regular router based on stateman
http://regularjs.github.io/regular-state/
MIT License
13 stars 9 forks source link

文档错误 r-link #7

Closed Qquanwei closed 5 years ago

Qquanwei commented 5 years ago

image

<a href="app.a.b.c">配置</a>
<a r-link="app.a.b.c">配置</a>
<a r-link href="app.a.b.c">配置</a>

按照文档内容依然不知道具体r-link怎么用的。上面三种写法均未生效.

leeluolee commented 5 years ago
r-link='app.a.b.c()'

@Qquanwei

不过文档确实描述上,理解会有困难,我改下

Qquanwei commented 5 years ago

是的,这样可以了。