base.js 618 B

123456789101112131415161718192021222324
  1. export const builtIn = [{
  2. path: '/preview-image',
  3. name: 'previewImage',
  4. component: {
  5. render: () => {},
  6. },
  7. }, {
  8. path: '/choose-location',
  9. name: 'chooseLocation',
  10. component: {
  11. render: () => {},
  12. },
  13. }, {
  14. path: '/open-location',
  15. name: 'openLocation',
  16. component: {
  17. render: () => {},
  18. },
  19. }]; // uni-app内置路由
  20. export const vuelifeHooks = { // vueRouter的原始生命周期
  21. beforeHooks: [],
  22. afterHooks: [],
  23. };
  24. export const vueMount = [];// 使用内部对象保留实例化下的appVue,并使用Router进行挂载触发第一次路由钩子