原文地址:原文地址
1.在vue容器的div里面加上 v-cloak
<div id="app" v-cloak>
2.样式文件中加上
<style type="text/css"> [v-cloak] { display: none !important; } </style>