javascript - .vue page jump problem
phpcn_u1582
phpcn_u1582 2017-06-20 10:06:56
0
2
656

phpcn_u1582
phpcn_u1582

reply all(2)
漂亮男人

Is router defined?

代言

Need to configure routing

router.map({
  '/appinfo': {
    component: function(resolve) {
      require(['./pages/Appinfo.vue'], resolve);
    }
  },
  '/interface': {
    component: function(resolve) {
      require(['./pages/Interface.vue'], resolve);
    },
    subRoutes: {
      // 接口配置
      '/setting': {
        component: function(resolve) {
          require(['./pages/InterfaceSetting.vue'], resolve);
        }
      },
      // 异常监控
      '/exception': {
        component: function(resolve) {
          require(['./pages/InterfaceException.vue'], resolve);
        }
      }
    }
  }
}
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template