vben
2020-12-31 d9b58e46aee48a6f26ae009c1efd74f47e77697e
style(layout): update layout style #149
3个文件已修改
9 ■■■■■ 已修改文件
src/components/Table/src/components/TableAction.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layouts/default/header/index.less 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layouts/default/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/Table/src/components/TableAction.vue
@@ -49,13 +49,13 @@
        return props.actions.map((action) => {
          const { popConfirm } = action;
          return {
            type: 'link',
            size: 'small',
            ...action,
            ...(popConfirm || {}),
            onConfirm: popConfirm?.confirm,
            onCancel: popConfirm?.cancel,
            enable: !!popConfirm,
            type: 'link',
            size: 'small',
          };
        });
      });
src/layouts/default/header/index.less
@@ -135,6 +135,7 @@
  &--light {
    background: @white;
    border-bottom: 1px solid @header-light-bottom-border-color;
    border-left: 1px solid @header-light-bottom-border-color;
    .@{header-prefix-cls}-logo {
      color: @text-color-base;
src/layouts/default/index.vue
@@ -83,9 +83,5 @@
    > .ant-layout {
      min-height: 100%;
    }
    &__main {
      margin-left: 1px;
    }
  }
</style>