feat(components): 添加多页签Tab点击后自动往中间滚动

This commit is contained in:
Soybean
2021-11-25 00:50:55 +08:00
parent 1ffb75afce
commit 8ce627a397
6 changed files with 48 additions and 8 deletions

View File

@@ -41,5 +41,7 @@ watch([() => width.value, () => height.value], () => {
onMounted(() => {
initBetterScroll();
});
defineExpose({ bsInstance });
</script>
<style scoped></style>