-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Multiple nested template, can not be rendered in ios #1118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
use english(还是使用英文吧) codes should place like this
|
Are you using the latest version? (0.12.9) If this still happens in 0.12.9, please provide a jsfiddle reproduction. |
Can Vue.js provide a new directive like
|
Here is a demo: https://jsfiddle.net/kzxu9ceq/ |
+1 with v-else , maybe a v-empty also , since when composing views these three conditions are most common , 1. there's nothing to show , 2. there's something to show , 3. there's something but it's different / needs adjusting |
This is happening to me when try to create and alternate grid like:
Using the <div class="container-fluid">
<div class="row equal hidden-xs hidden-sm debug" v-for="service in services">
<!-- Left -->
<div class="col-md-6 service-text left debug" style="background-color: [[service.background]];" v-if="($index%2) === 0">
<h3 class="font-white">[[service.title]]</h3><p class="font-family-lato font-white">[[service.body]]</p>
</div>
<div class="col-md-6 service-banner debug" v-bind:style="{'background-image': 'url('+service.banner.img+')'}" v-else></div>
<!-- Right -->
<div class="col-md-6 service-banner debug" v-bind:style="{'background-image': 'url('+service.banner.img+')'}" v-if="($index%2) === 0"></div>
<div class="col-md-6 service-text right debug" style="background-color: [[service.background]];" v-else>
<h3 class="font-white">[[service.title]]</h3><p class="font-family-lato font-white">[[service.body]]</p>
</div>
</div>
</div> <!-- container-fluid --> Safari:
OS X:
VueJS:
|
Issues, such as shown in the title
An example:
For example shown,
template(v-if="isFirstMonth")
andtemplate(v-if="!isFirstMonth")
inside the content will not be rendered in ios, but Android is ok.The text was updated successfully, but these errors were encountered: