在style中直接写,不要在引入的css文件中
<style> [v-cloak]{ display:none !import; } </style> <body> <div v-cloak>{{msg}}</div> </body>