Skip to content

Commit

Permalink
fix(swiper): dots-bar示例height设置问题 (#1067)
Browse files Browse the repository at this point in the history
  • Loading branch information
LoopZhou authored Aug 31, 2023
1 parent 0dfafe9 commit f2e98ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swiper/demos/custom.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div style="padding: 0 16px">
<t-swiper :autoplay="true" height="192" :navigation="{ type: 'dots-bar' }" @change="handleChange">
<t-swiper :autoplay="true" height="192px" :navigation="{ type: 'dots-bar' }" @change="handleChange">
<t-swiper-item v-for="(item, index) in swiperList" :key="index">
<img :src="item" class="img" />
</t-swiper-item>
Expand Down

0 comments on commit f2e98ba

Please sign in to comment.