Skip to content

Commit

Permalink
fix: 标签栏右键菜单自定义样式没在指定 class 范围内生效
Browse files Browse the repository at this point in the history
  • Loading branch information
hooray committed Apr 9, 2024
1 parent 4911aff commit 5269dba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/components/Topbar/Tabbar/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function onTabbarContextmenu(event: MouseEvent, routeItem: Tabbar.recordRaw) {
y: event.y,
zIndex: 1050,
iconFontClass: '',
customClass: 'contextmenu-custom',
customClass: 'tabbar-contextmenu',
items: [
{
label: '重新加载',
Expand Down Expand Up @@ -201,7 +201,7 @@ onUnmounted(() => {
</template>

<style lang="scss">
.mx-menu-ghost-host {
.tabbar-contextmenu {
z-index: 1000;
.mx-context-menu {
Expand Down

0 comments on commit 5269dba

Please sign in to comment.