• 监听路由变化
      1. history.listen((location, action) => {
      2. console.log(location);
      3. console.log(action);
      4. });