GeekyAnts/vue-native-core

v-show doesn't seem to work

Open

#156 aperta il 7 giu 2019

Vedi su GitHub
 (5 commenti) (2 reazioni) (0 assegnatari)JavaScript (324 fork)batch import
bughelp wanted

Metriche repository

Star
 (8333 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

This doesn't work as expected for me:

<template>
  <view>
    <text v-show="false">Hide this</text>
  </view>
</template>

i.e. The "Hide this" text still shows up.

Also, the code example for v-show in the Vue Native documentation actually uses v-if: https://vue-native.io/docs/conditional.html#v-show

Guida contributor