mirror of
				https://github.com/veops/cmdb.git
				synced 2025-10-31 19:39:24 +08:00 
			
		
		
		
	fix(ui): menu icon display
This commit is contained in:
		| @@ -257,7 +257,7 @@ export default { | |||||||
|       const props = {} |       const props = {} | ||||||
|       if (this.$route.name === routeName && selectedIcon) { |       if (this.$route.name === routeName && selectedIcon) { | ||||||
|         return <ops-icon type={selectedIcon}></ops-icon> |         return <ops-icon type={selectedIcon}></ops-icon> | ||||||
|       } else if (icon.startsWith('ops-') || icon.startsWith('icon-xianxing') || icon.startsWith('icon-shidi')) { |       } else if (icon.startsWith('ops-') || icon.startsWith('icon-xianxing') || icon.startsWith('icon-shidi') || icon.startsWith('veops-')) { | ||||||
|         return <ops-icon type={icon}></ops-icon> |         return <ops-icon type={icon}></ops-icon> | ||||||
|       } else { |       } else { | ||||||
|         typeof (icon) === 'object' ? props.component = icon : props.type = icon |         typeof (icon) === 'object' ? props.component = icon : props.type = icon | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user