Procházet zdrojové kódy

refactor: 'remoteComponent'=>'remoteComponent'

wu.jian2 před 1 rokem
rodič
revize
f83314a55b

+ 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