mirror of
https://github.com/1024-lab/smart-admin.git
synced 2026-06-02 03:55:59 +00:00
修改标签页多次点击的问题
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user