vue3 组件通信和vue2的通信方式基本一致,只是存在写法上的差异props/emit setup ... 父组件 <template> <i-button :type='type' @onClick="click"> ...
確定! 回上一頁