GeekyAnts/vue-native-core

v-show doesn't seem to work

Open

#156 ouverte le 7 juin 2019

Voir sur GitHub
 (5 commentaires) (2 réactions) (0 assignés)JavaScript (8 333 stars) (324 forks)batch import
bughelp wanted

Description

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

Guide contributeur