This commit is contained in:
		
							parent
							
								
									67ad39cbb9
								
							
						
					
					
						commit
						cf2bb47230
					
				| 
						 | 
					@ -19,9 +19,9 @@ import (
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// 最后一次会话内容结构.
 | 
					// 最后一次会话内容结构.
 | 
				
			||||||
type LatestSessionContent struct {
 | 
					type LatestSessionContent struct {
 | 
				
			||||||
	FileTree    []string `json:"fileTree"`    // 文件树展开的路径集
 | 
						FileTree    []string // 文件树展开的路径集
 | 
				
			||||||
	Files       []string `json:"files"`       // 编辑器打开的文件路径集
 | 
						Files       []string // 编辑器打开的文件路径集
 | 
				
			||||||
	CurrentFile string   `json:"currentFile"` // 当前编辑器文件路径
 | 
						CurrentFile string   // 当前编辑器文件路径
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// 用户结构.
 | 
					// 用户结构.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -35,9 +35,9 @@ var session = {
 | 
				
			||||||
        }, 5000);
 | 
					        }, 5000);
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    restore: function () {
 | 
					    restore: function () {
 | 
				
			||||||
        var fileTree = config.latestSessionContent.fileTree,
 | 
					        var fileTree = config.latestSessionContent.FileTree,
 | 
				
			||||||
                files = config.latestSessionContent.files,
 | 
					                files = config.latestSessionContent.Files,
 | 
				
			||||||
                currentFile = config.latestSessionContent.currentFile,
 | 
					                currentFile = config.latestSessionContent.CurrentFile,
 | 
				
			||||||
                id = "",
 | 
					                id = "",
 | 
				
			||||||
                nodesToOpen = [];
 | 
					                nodesToOpen = [];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue