fix(components): 修复多页签Tab自动滚动问题

This commit is contained in:
Soybean
2021-11-25 21:48:39 +08:00
parent 93f9aa9584
commit 20aa39f14e
3 changed files with 34 additions and 8 deletions

View File

@ -1,5 +1,5 @@
<template>
<div ref="scrollbar" class="wh-full text-left">
<div ref="scrollbar" class="h-full text-left">
<div ref="scrollbarContent" class="inline-block" :class="{ 'h-full': !isScrollY }">
<slot></slot>
</div>