From 1bf4b0eee144f3d43dda61d4951906605c05ac0d Mon Sep 17 00:00:00 2001 From: Lykin <137850705+tiny-craft@users.noreply.github.com> Date: Thu, 18 Apr 2024 20:17:10 +0800 Subject: [PATCH] fix: can not load the same key after delete and re-added (#226) --- frontend/src/stores/tab.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/stores/tab.js b/frontend/src/stores/tab.js index f54f45b..9a73e96 100644 --- a/frontend/src/stores/tab.js +++ b/frontend/src/stores/tab.js @@ -724,6 +724,7 @@ const useTabStore = defineStore('tab', { if (keys == null) { // select nothing tab.selectedKeys = [] + tab.activatedKey = null } else if (typeof keys === 'string') { tab.selectedKeys = [keys] } else {