<template> </template> <script> export default { name: "ChangeIcon", mounted() { console.log("changeicon mounted") // this.$emit('icon'); }, methods: { childMethod() { this.$emit('icon'); } } } </script> <style scoped> </style>