Iview menu encapsulated in a header component and the parent component to form a page report on-select binding method is invalid

parent
template:

  <div>
    <Top``
      :navbars="navbars"
      @toJump="toJump"
    />
    <div class="container">
      <router-view></router-view>
    </div>
  </div>

script:

  methods: {
    toJump (item) {
      console.log(item)
      this.$router.push({name: item})
    }
  }

subcomponents
template:

<div class="header-container">
      <div class="logBox"></div>
      <Menu class="navbar" mode="horizontal" active-name="activeName" theme="dark" @on-select="toJump">
        <Menu-item v-for="item in navbars" :key="item.id" :name="item.routerName">
          {{item.name}}
        </Menu-item>
      </Menu>
    </div>

script:

    methods: {
      toJump (name) {
        this.$emit("toJump", name)
      }
    }

Page error:

clipboard.png

if the header component is not split, the function is intact

  <div>
    <header class="header-container">
      <div class="logBox"></div>
      <Menu class="navbar" mode="horizontal" active-name="activeName" theme="dark" @on-select="toJump">
        <Menu-item v-for="item in navbars" :key="item.id" :name="item.routerName">
          {{item.name}}
        </Menu-item>
      </Menu>
    </header>
    <div class="container">
      <router-view></router-view>
    </div>
  </div>

I want to know why, why, @ _ @
I think it"s the reason for the vue object, but I don"t know exactly why.
can you give me an answer?

Mar.12,2021

this.$emit ('toJump', name)
event name changed to to-jump
remember hump is not supported

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-1b36c01-2c056.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-1b36c01-2c056.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?