How does a vue recursive component pass events to the parent component?

for example, according to the data traversal recursion, it is not clear how many times it will be traversed. The form is as follows:

<parent>
    <children>
        <children>
            <children>
                ...
            </children>
        </children>
    </children>
</parent>

I"m going to children data to parent for reception at the last layer, but emit can only pass it up one layer. Is there a good solution? I don"t have any good ideas except using vuex

Mar.10,2021

use eventBus policy.
definition:

  https://developer.mozilla.org.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c2b052-550ce.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c2b052-550ce.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?