liyongli 3 years ago
parent
commit
10c70a7a76
2 changed files with 5 additions and 8 deletions
  1. 4 8
      src/App.vue
  2. 1 0
      src/views/Appointment.vue

+ 4 - 8
src/App.vue

@@ -1,19 +1,15 @@
 <template>
   <div id="app">
-      <router-view />
+    <router-view />
   </div>
 </template>
 
 <script>
 export default {
   name: "App",
-  methods: {
-  },
-  mounted() {
-    localStorage.token = "";
-  },
-  components: {
-  },
+  methods: {},
+  mounted() {},
+  components: {},
 };
 </script>
 

+ 1 - 0
src/views/Appointment.vue

@@ -80,6 +80,7 @@ export default {
     };
   },
   mounted() {
+    localStorage.token = "";
     let search = urlSearchData();
     document.title = "预定";
     getAPPUser({