Commit bdae33e34a17fd547cb16685fad3c6e91c09d31a

Authored by Vben
1 parent e9e51b2f

chore: revert scrollbar

src/components/Scrollbar/src/Scrollbar.vue
... ... @@ -29,7 +29,6 @@
29 29 nextTick,
30 30 provide,
31 31 computed,
32   - watch,
33 32 unref,
34 33 } from 'vue';
35 34 import Bar from './bar';
... ... @@ -65,7 +64,7 @@
65 64 default: 'div',
66 65 },
67 66 },
68   - setup(props, { slots }) {
  67 + setup(props) {
69 68 const sizeWidth = ref('0');
70 69 const sizeHeight = ref('0');
71 70 const moveX = ref(0);
... ... @@ -82,13 +81,6 @@
82 81 return props.wrapStyle;
83 82 });
84 83  
85   - watch(
86   - () => slots.default?.(),
87   - () => {
88   - nextTick(update);
89   - }
90   - );
91   -
92 84 const handleScroll = () => {
93 85 if (!props.native) {
94 86 moveY.value = (unref(wrap).scrollTop * 100) / unref(wrap).clientHeight;
... ...
src/design/ant/btn.less
... ... @@ -59,7 +59,7 @@
59 59 }
60 60  
61 61 &.ant-btn-link.is-disabled {
62   - color: rgba(0, 0, 0, 0.25) !important;
  62 + color: rgba(0, 0, 0, 0.25);
63 63 text-shadow: none;
64 64 cursor: not-allowed !important;
65 65 background-color: transparent !important;
... ...