修改标签页多次点击的问题

This commit is contained in:
zhuoda 2022-12-16 18:37:42 +08:00
parent 4d634887ba
commit 2d6499b42d

View File

@ -75,6 +75,9 @@
// //
function selectTab(name) { function selectTab(name) {
if (selectedKey.value === name) {
return;
}
// tag // tag
let tag = tagNav.value.find((e) => e.menuName == name); let tag = tagNav.value.find((e) => e.menuName == name);
if (!tag) { if (!tag) {