forked from opentiny/tiny-vue
31 lines
1.2 KiB
Vue
31 lines
1.2 KiB
Vue
<template>
|
||
<tiny-scrollbar style="height: 120px">
|
||
<div>
|
||
<p>当内部元素大于外部元素宽高时,出现滚动条</p>
|
||
<p>当内部元素大于外部元素宽高时,出现滚动条</p>
|
||
<p>当内部元素大于外部元素宽高时,出现滚动条</p>
|
||
<p>当内部元素大于外部元素宽高时,出现滚动条</p>
|
||
<p>当内部元素大于外部元素宽高时,出现滚动条</p>
|
||
<p>当内部元素大于外部元素宽高时,出现滚动条</p>
|
||
<p>当内部元素大于外部元素宽高时,出现滚动条</p>
|
||
<p>当内部元素大于外部元素宽高时,出现滚动条</p>
|
||
<p>当内部元素大于外部元素宽高时,出现滚动条</p>
|
||
<p>当内部元素大于外部元素宽高时,出现滚动条</p>
|
||
<p>当内部元素大于外部元素宽高时,出现滚动条</p>
|
||
<p>当内部元素大于外部元素宽高时,出现滚动条</p>
|
||
<p>当内部元素大于外部元素宽高时,出现滚动条</p>
|
||
<p>当内部元素大于外部元素宽高时,出现滚动条</p>
|
||
</div>
|
||
</tiny-scrollbar>
|
||
</template>
|
||
|
||
<script>
|
||
import { Scrollbar } from '@opentiny/vue'
|
||
|
||
export default {
|
||
components: {
|
||
TinyScrollbar: Scrollbar
|
||
}
|
||
}
|
||
</script>
|