Skip to content

Commit a861646

Browse files
committed
标签栏右键菜单自定义样式没在指定 class 范围内生效
1 parent 3210178 commit a861646

File tree

1 file changed

+2
-2
lines changed
  • src/layouts/components/Topbar/Tabbar

1 file changed

+2
-2
lines changed

src/layouts/components/Topbar/Tabbar/index.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function onTabbarContextmenu(event: MouseEvent, routeItem: Tabbar.recordRaw) {
7777
y: event.y,
7878
zIndex: 1050,
7979
iconFontClass: '',
80-
customClass: 'contextmenu-custom',
80+
customClass: 'tabbar-contextmenu',
8181
items: [
8282
{
8383
label: '重新加载',
@@ -201,7 +201,7 @@ onUnmounted(() => {
201201
</template>
202202

203203
<style lang="scss">
204-
.mx-menu-ghost-host {
204+
.tabbar-contextmenu {
205205
z-index: 1000;
206206
207207
.mx-context-menu {

0 commit comments

Comments
 (0)