chore: update workflow

This commit is contained in:
Vben
2021-03-22 23:45:31 +08:00
parent 391da9ec28
commit 908116ddc4
6 changed files with 80 additions and 31 deletions

View File

@@ -43,8 +43,8 @@
:class="`${prefixCls}-submenu-title-icon`"
/>
</div>
<template #content v-show="opened">
<div v-bind="getEvents(true)">
<template #content>
<div v-bind="getEvents(true)" v-show="opened">
<ul :class="[prefixCls, `${prefixCls}-${getTheme}`, `${prefixCls}-popup`]">
<slot></slot>
</ul>

View File

@@ -22,8 +22,6 @@
import { Breadcrumb } from 'ant-design-vue';
import Icon from '/@/components/Icon';
import { PageEnum } from '/@/enums/pageEnum';
import { useDesign } from '/@/hooks/web/useDesign';
import { useRootSetting } from '/@/hooks/setting/useRootSetting';
import { useGo } from '/@/hooks/web/usePage';