fix: 企业切换数据同步(8/10页面+shared组件)

This commit is contained in:
Hermes CI Fix
2026-07-27 16:13:03 +08:00
parent b593e0383f
commit f85b18ce6d
8 changed files with 51 additions and 34 deletions
+2 -2
View File
@@ -374,8 +374,8 @@ const searchStatus = ref('active')
// ── 企业选择 ──
const entities = ref<any[]>([])
const currentEntityId = ref(1)
const currentEntityName = ref('酣客')
const currentEntityId = ref(Number(localStorage.getItem('cma_entity_id') || 1))
const currentEntityName = ref(localStorage.getItem('cma_entity_name') || '酣客')
// ── 分类树 ──
const categoryTree = ref<any[]>([])