diff --git a/packages/@vue/cli-ui/src/components/ItemLogo.vue b/packages/@vue/cli-ui/src/components/ItemLogo.vue index ae662654d5..e155a76fbc 100644 --- a/packages/@vue/cli-ui/src/components/ItemLogo.vue +++ b/packages/@vue/cli-ui/src/components/ItemLogo.vue @@ -14,10 +14,10 @@ icon="done" /> @@ -65,6 +65,16 @@ export default { } }, + computed: { + imageEnabled () { + return this.image || (this.icon && this.icon.indexOf('.') !== -1) + }, + + imageUrl () { + return this.image || this.icon + } + }, + watch: { image: 'reset', selected: 'reset'