mirror of https://gitee.com/xiaonuobase/snowy
【修复】在多标签栏没有标签地方使用中键报错问题
parent
eab0288f0b
commit
fc23e7dfb9
|
@ -120,6 +120,7 @@
|
||||||
// 修复关闭时出现"使用了错误的类型或对象"的问题
|
// 修复关闭时出现"使用了错误的类型或对象"的问题
|
||||||
while (!target.classList.contains('ant-tabs-tab')) {
|
while (!target.classList.contains('ant-tabs-tab')) {
|
||||||
if (target.classList.contains('ant-tabs')) {
|
if (target.classList.contains('ant-tabs')) {
|
||||||
|
this.currentContextMenuTabIndex = 0
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
target = target.parentNode
|
target = target.parentNode
|
||||||
|
|
Loading…
Reference in New Issue