liyongli 3 anni fa
parent
commit
dde033671d
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      src/router/index.js

+ 3 - 1
src/router/index.js

@@ -1,6 +1,8 @@
 import Vue from "vue";
 import VueRouter from "vue-router";
 Vue.use(VueRouter);
+
+import Appointment from "../views/Appointment.vue"
 const routes = [
     {
       path: "/",
@@ -20,7 +22,7 @@ const routes = [
     {
       path: "/appointment",
       name: "Appointment",
-      component: () => import("../views/Appointment.vue"),
+      component: Appointment
     },
     {
         path: '/actionSheet',