fix: setActiveTab补onSpecMutated(激活标签持久化,保活问题真正根因) + 测试作用域修正

This commit is contained in:
Aisland
2026-08-18 01:32:12 +08:00
parent a8b3270670
commit b391720133
3 changed files with 20 additions and 19 deletions
+1
View File
@@ -678,6 +678,7 @@ export const splitStore: SplitState = {
main[i] = mutate(main[i])
this.spec = { ...spec, main }
}
this.onSpecMutated?.(this.spec)
this.persist()
this.notify()
},