摘要: 父组件 <div class="proNew"> <add-host-basic :hostData="hostInfo" @handleNewPro="handleChange()" /> </div> data() { return { hostInfo:'我要传给子组件' }; }, methods:{ //这个方法是我要传递给子组件的 handleChange() { this.isAdd 阅读全文
posted @ 2019-09-18 18:01 无忧lv 阅读(212) 评论(0) 推荐(0) 编辑
摘要: removeEventListener() 方法用于移除由 addEventListener() 方法添加的事件句柄 popstate浏览器返回事件 当活动历史记录条目更改时,将触发popstate事件。如果被激活的历史记录条目是通过对history.pushState()的调用创建的,或者受到对h 阅读全文
posted @ 2019-09-18 17:28 无忧lv 阅读(4952) 评论(0) 推荐(0) 编辑
摘要: getTableList() { this.loading = true; retriveHosData(this.queryParam).then(res => { if (res.message "SUCCESS") { const pagination = { ...this.paginati 阅读全文
posted @ 2019-09-18 16:53 无忧lv 阅读(28194) 评论(11) 推荐(6) 编辑