fix: 标签栏右键菜单自定义样式没在指定 class 范围内生效

This commit is contained in:
Hooray Hu
2024-04-09 16:55:09 +08:00
parent 4911affd28
commit 5269dba56b
@@ -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: '重新加载',
@@ -201,7 +201,7 @@ onUnmounted(() => {
</template>
<style lang="scss">
.mx-menu-ghost-host {
.tabbar-contextmenu {
z-index: 1000;
.mx-context-menu {