瀏覽代碼

refactor: 'remoteComponent'=>'remoteComponent'

wu.jian2 1 年之前
父節點
當前提交
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