Browse Source

空的插槽

xiao 2 years ago
parent
commit
e87eaeb9f6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/layout/PageLayer.vue

+ 1 - 0
src/layout/PageLayer.vue

@@ -7,6 +7,7 @@
       <slot name="headerBlock"></slot>
     </el-header>
     <el-container>
+      <slot name="arbitrarily"/>
       <el-aside v-if="useSlots().aside" class="aside" :style="mainStyleSize" ref="asideRef">
         <slot name="aside" :size="{height:heightRef,width:asideRef?.$el?.clientWidth}"></slot>
       </el-aside>