From f83314a55b03567f4de0e9ff0133a7553ea5615c Mon Sep 17 00:00:00 2001 From: "wu.jian2" Date: Thu, 21 Dec 2023 09:59:30 +0800 Subject: [PATCH] refactor: 'remoteComponent'=>'remoteComponent' --- data-room-ui/packages/BigScreenDesign/SettingPanel.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data-room-ui/packages/BigScreenDesign/SettingPanel.vue b/data-room-ui/packages/BigScreenDesign/SettingPanel.vue index efef900d..ef32cc64 100644 --- a/data-room-ui/packages/BigScreenDesign/SettingPanel.vue +++ b/data-room-ui/packages/BigScreenDesign/SettingPanel.vue @@ -97,9 +97,9 @@ export default { return this.rightVisiable && this.activeCode }, title () { - if (this.activeItem.type == 'customComponent') { + if (this.activeItem.type === 'customComponent') { return this.activeItem?.category - } else if (this.activeItem.type == '"remoteComponent"') { + } else if (this.activeItem.type === 'remoteComponent') { return this.activeItem?.title } else { return this.activeItem?.name