vue页面离开后执行函数的实例 如下所示:destroyed:function(){console.log("我已经离开了!");this.doSomething();},说明:destroyed是与me vue页面离开后执行函数