docs(Slider): hide range usage in weapp (#7611)

This commit is contained in:
neverland 2020-11-23 21:12:00 +08:00 committed by GitHub
parent dff2bebfef
commit 39b0a4282d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
<van-slider v-model="value1" @change="onChange" />
</demo-block>
<demo-block :title="t('title2')">
<demo-block v-if="!isWeapp" :title="t('title2')">
<van-slider range v-model="value2" @change="onChange" />
</demo-block>