mirror of https://github.com/veops/cmdb.git
Merge branch 'master' of github.com:veops/cmdb
This commit is contained in:
commit
c0d55b2126
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue