fix: 修改展示的错误

This commit is contained in:
奔跑的面条
2022-04-06 19:55:31 +08:00
parent e8ce806082
commit c0a654fa63
3 changed files with 37 additions and 32 deletions
+8
View File
@@ -12,6 +12,9 @@
</n-icon>
</template>
<!-- 图层内容 -->
<n-space v-if="reverseList.length === 0" justify="center">
<n-text class="not-layer-text">暂无图层~</n-text>
</n-space>
<!-- https://github.com/SortableJS/vue.draggable.next -->
<draggable
item-key="id"
@@ -108,6 +111,11 @@ $wight: 170px;
flex-shrink: 0;
overflow: hidden;
@extend .go-transition;
.not-layer-text {
position: relative;
top: 10px;
opacity: .4;
}
&.scoped {
width: 0;
}