chore: remote isWeapp mixin (#9236)

* chore: remote isWeapp mixin

* fix: demo locale
This commit is contained in:
neverland
2021-08-11 11:06:53 +08:00
committed by GitHub
parent 4c41908ac1
commit 735f7dd24a
24 changed files with 31 additions and 45 deletions
+2 -2
View File
@@ -126,7 +126,7 @@ const toggleAll = () => {
</van-checkbox-group>
</demo-block>
<demo-block v-if="!isWeapp" :title="t('horizontal')">
<demo-block :title="t('horizontal')">
<van-checkbox-group v-model="state.horizontalResult" direction="horizontal">
<van-checkbox name="a">{{ t('checkbox') }} a</van-checkbox>
<van-checkbox name="b">{{ t('checkbox') }} b</van-checkbox>
@@ -141,7 +141,7 @@ const toggleAll = () => {
</van-checkbox-group>
</demo-block>
<demo-block v-if="!isWeapp" :title="t('toggleAll')">
<demo-block :title="t('toggleAll')">
<van-checkbox-group v-model="state.checkAllResult" ref="group">
<van-checkbox name="a">{{ t('checkbox') }} a</van-checkbox>
<van-checkbox name="b">{{ t('checkbox') }} b</van-checkbox>