fix(wa): 直接以tab=groups进入时onMounted加载群数据(mount不触发route watch)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
浅念
2026-08-24 18:18:32 +08:00
parent e84e89b029
commit b66363e377
+4
View File
@@ -408,6 +408,10 @@ watch(
onMounted(() => {
loadTab(activeTab.value)
loadDeclaredTotal()
// 直接以 tab=groups 进入时加载群数据(mount 不触发 route watch)
if (activeTab.value === 'whatsapp' && waSubTab.value === 'groups') {
loadWaGroups()
}
})
</script>