computed当成date(data() {return {message: 'Hello'}},)里面的返回值,不过呢他放在新的方法里面了。可以定义相应的方法。
定义好的计算属性把之前的变量拿过来处理,计算后的属性