heyujie
2022-07-15 a0b5604fcefa0c7900ecc50830b718f77bba8f39
src/components/giantTree/index.vue
@@ -19,6 +19,7 @@
      @onCollapse="itemCollapse"
      @onShowPic="showCameraPic"
    />
    <div class="empty" v-if="!node.length">暂无摄像机数据,请添加摄像机!</div>
    <div class="dialog-box-bg" v-show="showDialog" @click="hideDialogBox"></div>
    <div
      class="dialog-box"
@@ -404,10 +405,14 @@
}
.tree-menu {
  // max-width: 350px;
  min-height: 92px;
  overflow-x: auto;
  overflow-y: hidden;
  margin-bottom: 4px;
}
.empty {
  line-height: 76px;
}
.tree-menu::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 4px; /*高宽分别对应横竖滚动条的尺寸*/