<template> <div> home <button @click="reload()">强制更新</button> </div> </template> <script> export default { name: "Home", data () { return { }; }, updated(){ console.log("更新了"); }, methods:{ reload(){ this.$forceUpdate(); } } } </script>