|  | @@ -266,7 +266,7 @@ const createNewPathTree = function (type, setting) {
 | 
	
		
			
				|  |  |              const self = this;
 | 
	
		
			
				|  |  |              // 无索引
 | 
	
		
			
				|  |  |              this.datas = [];
 | 
	
		
			
				|  |  | -            // 以key为索引
 | 
	
		
			
				|  |  | +            // 以key为索引indexedDB
 | 
	
		
			
				|  |  |              this.items = {};
 | 
	
		
			
				|  |  |              // 以排序为索引
 | 
	
		
			
				|  |  |              this.nodes = [];
 | 
	
	
		
			
				|  | @@ -276,15 +276,10 @@ const createNewPathTree = function (type, setting) {
 | 
	
		
			
				|  |  |              this.setting = setting;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              if (this.setting.markFoldKey) {
 | 
	
		
			
				|  |  | -                const markStr = getLocalCache(this.setting.markFoldKey);
 | 
	
		
			
				|  |  | -                const markData = markStr ? markStr.split('|') : ['', ''];
 | 
	
		
			
				|  |  | -                try {
 | 
	
		
			
				|  |  | -                    this.markFold = markData[0] === this.setting.markFoldSubKey
 | 
	
		
			
				|  |  | -                        ? (markData[1] ? markData[1].split(',').map(x => { return parseInt(x) }) : [])
 | 
	
		
			
				|  |  | -                        : [];
 | 
	
		
			
				|  |  | -                } catch {
 | 
	
		
			
				|  |  | -                    this.markFold = [];
 | 
	
		
			
				|  |  | -                }
 | 
	
		
			
				|  |  | +                 const markStr = getLocalCache(this.setting.markFoldKey);
 | 
	
		
			
				|  |  | +                 const markData = markStr ? markStr.split('|') : ['', ''];
 | 
	
		
			
				|  |  | +                 this.markFold = markData[0] === this.setting.markFoldSubKey && markData[1]
 | 
	
		
			
				|  |  | +                     ? _.map(markData[1].split(','), _.toInteger) : [];
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              // if (this.setting.treeCacheKey) {
 | 
	
		
			
				|  |  |              //     localforage.getItem(this.setting.treeCacheKey).then(function (v) {
 |