There is a div
in my page that for show the error message.When I refresh the page,it will appear for a while then it disappear. I added v-cloak
but it doesn't work.
this is the code, showErrorMsg
is false
<div v-cloak v-show="showErrorMsg" style="z-index:100" class="h5_tips tips_error">
<a href="#" v-on:click="showErrorMsg = false" class="del"><i></i></a>
<p v-text="errorMsg"></p>
</div>
How to fix this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…