What should I do if the horizontal menu bar in the element-UI component loses focus and cannot be retracted automatically after the horizontal menu bar is expanded?

for example, after expanding like the following, click on the contents but the menu bar will not automatically withdraw what should be solved, thank you!

clipboard.png

the content below me is wrapped in router-view

the code for the horizontal menu bar is as follows

<template>
  <el-menu class="horizon-menu" default-active="/index" menu-trigger="click" unique-opened mode="horizontal" background-color="-sharp373d41"
    text-color="-sharpfff" router>
    <template v-for="item in permission_routers" v-if="!item.hidden&&item.children">
      <el-menu-item v-if="item.children.length===1 && !item.children[0].children&&!item.alwaysShow" :key="item.children[0].name"
        :index="item.path+item.children[0].path">
        <span v-if="item.children[0].meta&&item.children[0].meta.title">{{generateTitle(item.children[0].meta.title)}}</span>
      </el-menu-item>

      <el-submenu v-else :index="item.name||item.path" :key="item.name">
        <template slot="title">
          <span v-if="item.meta&&item.meta.title">{{generateTitle(item.meta.title)}}</span>
        </template>

        <template v-for="child in item.children" v-if="!child.hidden">
          <el-menu-item :index="item.path+"/"+child.path" :key="child.name">
            <span v-if="child.meta&&child.meta.title">{{generateTitle(child.meta.title)}}</span>
          </el-menu-item>
        </template>
      </el-submenu>
    </template>
  </el-menu>
</template>
Feb.28,2021
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-1b2bcdb-33e8f.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-1b2bcdb-33e8f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?