setup执行时机在beforeCreate之前在setup中是不能使用data和methods,因为还没初始化好由于不能再setup函数中使用data和methods,所以Vue为了避免我们错误的使用,它直接将setup函数中的this修改成undefined.setup只能同步,不能异步