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