mirror of
				https://github.com/pure-admin/vue-pure-admin.git
				synced 2025-11-03 13:44:47 +08:00 
			
		
		
		
	Merge pull request #126 from xiaoxian521/fix/tag
fix(tag): the route is not normally closed and the close icon is repeated
This commit is contained in:
		
						commit
						9d45e80856
					
				@ -64,6 +64,7 @@ const dynamicTagView = () => {
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
watch([route], () => {
 | 
			
		||||
  activeIndex.value = -1;
 | 
			
		||||
  dynamicTagView();
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
@ -591,7 +592,7 @@ onBeforeMount(() => {
 | 
			
		||||
              (index === activeIndex && index !== 0)
 | 
			
		||||
            "
 | 
			
		||||
            class="el-icon-close"
 | 
			
		||||
            @click="deleteMenu(item)"
 | 
			
		||||
            @click.stop="deleteMenu(item)"
 | 
			
		||||
          >
 | 
			
		||||
            <CloseBold />
 | 
			
		||||
          </el-icon>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user