title () {
        // this.$route.path 代表了当前的路径,形成header标题的自适应
        switch (this.$route.path.split('/')[1]) {
            case '':
              return "Qu约"
            case 'home':
              return "Qu约"
            case 'sport':
              return "约跑"
            case 'travel':
              return "约行"
            case 'user':
              return "我的"
        }
      },

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
  • 2021-12-13
  • 2021-08-10
  • 2021-07-11
猜你喜欢
  • 2021-05-17
  • 2021-09-21
  • 2022-12-23
  • 2022-02-15
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案