如图上面的菜单我放在了一个组件里面,如何做到点击字组件里的a链接,触发父组件的重新加载程序?
大家讲道理2017-04-17 15:09:08
The child component notifies the parent component, generally using events, that is, by dispatching an event; then the parent component will receive the event.
The specific code can be found here:
https://segmentfault.com/a/11...