摘要: import Test from 'Test.vue' render: h => { return h(Test,{ // 监听Test组件触发的方法 onTest() { console.log(111) } }, '') } // Test.vue组件 <template> <div class 阅读全文
posted @ 2022-03-28 15:33 Life_countdown 阅读(1617) 评论(0) 推荐(0)