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" @@ -409,6 +410,9 @@ overflow-y: hidden; margin-bottom: 4px; } .empty { line-height: 76px; } .tree-menu::-webkit-scrollbar { /*滚动条整体样式*/ width: 4px; /*高宽分别对应横竖滚动条的尺寸*/