refactor: 'remoteComponent'=>'remoteComponent'

main
wu.jian2 1 year ago
parent 945f725597
commit f83314a55b

@ -97,9 +97,9 @@ export default {
return this.rightVisiable && this.activeCode return this.rightVisiable && this.activeCode
}, },
title () { title () {
if (this.activeItem.type == 'customComponent') { if (this.activeItem.type === 'customComponent') {
return this.activeItem?.category return this.activeItem?.category
} else if (this.activeItem.type == '"remoteComponent"') { } else if (this.activeItem.type === 'remoteComponent') {
return this.activeItem?.title return this.activeItem?.title
} else { } else {
return this.activeItem?.name return this.activeItem?.name

Loading…
Cancel
Save