研发图纸文件管理系统-前端项目
chenghongxing
2020-09-26 d14d1ee9b8ad66e5ae9ba8f474d98b54b62f6f25
fix: the setting of fixed width do not effect in some page; :bug:
修复:部分页面固定宽度设置不生效的bug;
2个文件已修改
7 ■■■■ 已修改文件
src/layouts/AdminLayout.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layouts/tabs/TabsView.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layouts/AdminLayout.vue
@@ -135,6 +135,7 @@
    }
    .admin-layout-content{
      padding: 24px 24px 0;
      overflow-x: hidden;
      min-height: calc(100vh - 64px - 122px);
    }
    .setting{
src/layouts/tabs/TabsView.vue
@@ -15,7 +15,7 @@
        <span slot="tab" :pagekey="page.fullPath">{{pageName(page)}}</span>
      </a-tab-pane>
    </a-tabs>
    <div class="tabs-view-content" :style="`margin-top: ${multiPage ? -24 : 0}px`">
    <div :class="['tabs-view-content', layout, pageWidth]" :style="`margin-top: ${multiPage ? -24 : 0}px`">
      <page-toggle-transition :disabled="animate.disabled" :animate="animate.name" :direction="animate.direction">
        <a-keep-alive v-if="multiPage" v-model="clearCaches">
          <router-view ref="tabContent" :key="$route.fullPath" />
@@ -214,5 +214,9 @@
  }
  .tabs-view-content{
    position: relative;
    &.head.fixed{
      width: 1400px;
      margin: 0 auto;
    }
  }
</style>