This commit is contained in:
2024-03-31 14:44:46 +08:00
parent 8cdcb7a073
commit f00da2d1f0
2 changed files with 1 additions and 7 deletions

View File

@@ -16,6 +16,7 @@ const useTreeDataStore = defineStore("treeDataStore", {
// 获取localStorage的treeData数据
if (localStorage.getItem("tree_local_data")) {
this.treeData = JSON.parse(localStorage.getItem("tree_local_data"))
this.originTreeData = JSON.parse(localStorage.getItem("tree_local_data"))
}
if (this.treeData.length === 0) {
const roundData = await projectApi.getRoundInfo(projectId)