1, vue-router in $ route and $ route
$ Route represents the (current routing information object)
Reference Links: https://www.jianshu.com/p/fa0b5d919615
Official website: https://router.vuejs.org/zh/
2, computed different from the method
- computed attribute is called, is the function calls and methods
- In fact, both are computed as property access may also be used as a method to access