mirror of
				https://github.com/pure-admin/vue-pure-admin.git
				synced 2025-11-03 13:44:47 +08:00 
			
		
		
		
	fix: 修复路由通过query或params传参,开启缓存后关闭标签页缓存失效问题
				
					
				
			This commit is contained in:
		
							parent
							
								
									89a20c6e46
								
							
						
					
					
						commit
						ca97465e9e
					
				@ -27,7 +27,6 @@ export const usePermissionStore = defineStore({
 | 
				
			|||||||
      switch (mode) {
 | 
					      switch (mode) {
 | 
				
			||||||
        case "add":
 | 
					        case "add":
 | 
				
			||||||
          this.cachePageList.push(name);
 | 
					          this.cachePageList.push(name);
 | 
				
			||||||
          this.cachePageList = [...new Set(this.cachePageList)];
 | 
					 | 
				
			||||||
          break;
 | 
					          break;
 | 
				
			||||||
        case "delete":
 | 
					        case "delete":
 | 
				
			||||||
          // eslint-disable-next-line no-case-declarations
 | 
					          // eslint-disable-next-line no-case-declarations
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user