Просмотр исходного кода

refactor: 'remoteComponent'=>'remoteComponent'

wu.jian2 1 год назад
Родитель
Сommit
f83314a55b
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      data-room-ui/packages/BigScreenDesign/SettingPanel.vue

+ 2 - 2
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