feat(web): 优化节点编辑性能

This commit is contained in:
v-zhangjc9
2025-07-07 18:51:35 +08:00
parent 03d0d9d85b
commit f523fc7638
5 changed files with 396 additions and 398 deletions

View File

@@ -12,7 +12,7 @@ export const useDataStore = create<DataStoreState>((set, get) => ({
data: {},
getData: () => get().data,
setData: (data) => set({
data: data
data: data,
}),
getDataById: id => get().data[id],
setDataById: (id, data) => {