You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My code is as follows: <body> <div class="main"> <span>{{message}}</span> </div> <div class="common-pop-box" v-if="showPop"> <iframe width="100%" height="100%" frameborder="0" /> </div> </body> <script> new Vue({ el: ".main" , data:{ message:"hello world", showPop:true } }) </script>
Because I used the iframe tag,The value of the span tag is not turned into “hello world” .
where is the problem?
The text was updated successfully, but these errors were encountered:
My code is as follows:
<body>
<div class="main">
<span>{{message}}</span>
</div>
<div class="common-pop-box" v-if="showPop">
<iframe width="100%" height="100%" frameborder="0" />
</div>
</body>
<script>
new Vue({
el: ".main" ,
data:{
message:"hello world",
showPop:true
}
})
</script>
Because I used the iframe tag,The value of the span tag is not turned into “hello world” .
where is the problem?
The text was updated successfully, but these errors were encountered: