Vben
2021-06-28 bdae33e34a17fd547cb16685fad3c6e91c09d31a
chore: revert scrollbar
2个文件已修改
12 ■■■■ 已修改文件
src/components/Scrollbar/src/Scrollbar.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/design/ant/btn.less 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/Scrollbar/src/Scrollbar.vue
@@ -29,7 +29,6 @@
    nextTick,
    provide,
    computed,
    watch,
    unref,
  } from 'vue';
  import Bar from './bar';
@@ -65,7 +64,7 @@
        default: 'div',
      },
    },
    setup(props, { slots }) {
    setup(props) {
      const sizeWidth = ref('0');
      const sizeHeight = ref('0');
      const moveX = ref(0);
@@ -81,13 +80,6 @@
        }
        return props.wrapStyle;
      });
      watch(
        () => slots.default?.(),
        () => {
          nextTick(update);
        }
      );
      const handleScroll = () => {
        if (!props.native) {
src/design/ant/btn.less
@@ -59,7 +59,7 @@
  }
  &.ant-btn-link.is-disabled {
    color: rgba(0, 0, 0, 0.25) !important;
    color: rgba(0, 0, 0, 0.25);
    text-shadow: none;
    cursor: not-allowed !important;
    background-color: transparent !important;