mirror of
https://github.com/vbenjs/gf-vben-admin.git
synced 2025-01-24 04:10:20 +08:00
chore: revert scrollbar
This commit is contained in:
parent
e9e51b2fdc
commit
bdae33e34a
@ -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);
|
||||
@ -82,13 +81,6 @@
|
||||
return props.wrapStyle;
|
||||
});
|
||||
|
||||
watch(
|
||||
() => slots.default?.(),
|
||||
() => {
|
||||
nextTick(update);
|
||||
}
|
||||
);
|
||||
|
||||
const handleScroll = () => {
|
||||
if (!props.native) {
|
||||
moveY.value = (unref(wrap).scrollTop * 100) / unref(wrap).clientHeight;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user