【修复】在多标签栏没有标签地方使用中键报错问题

pull/158/head
lingsoul 2023-08-31 15:11:42 +08:00
parent eab0288f0b
commit fc23e7dfb9
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@
// "使"
while (!target.classList.contains('ant-tabs-tab')) {
if (target.classList.contains('ant-tabs')) {
this.currentContextMenuTabIndex = 0
return
}
target = target.parentNode