摘要: <body> <div id="app"> <button>注册</button> <button>登录</button> <com @fun="funparent"></com> //1.自定义方法: fun(在子组件调用),调用父组件方法:funparent </div> <template i 阅读全文
posted @ 2019-05-13 21:41 next_ojp 阅读(1739) 评论(0) 推荐(0) 编辑