Browse Source

style: 修复右侧配置面板头部标题被遮挡的情况

wu.jian2 1 year ago
parent
commit
e0bab1b23d
1 changed files with 4 additions and 5 deletions
  1. 4 5
      data-room-ui/packages/BigScreenDesign/SettingPanel.vue

+ 4 - 5
data-room-ui/packages/BigScreenDesign/SettingPanel.vue

@@ -97,12 +97,11 @@ 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{
+      } else {
         return this.activeItem?.name
       }
       // if(this.activeItem)
@@ -144,7 +143,7 @@ export default {
     border-bottom: 2px solid var(--bs-background-1);
     display: flex;
     align-items: center;
-    z-index
+    z-index: 1000;
 
     .bs-set-title-text {
       position: relative;