lex-xin 3 лет назад
Родитель
Сommit
726fa3519a
4 измененных файлов с 4 добавлено и 3 удалено
  1. 0 0
      dist/app.dc3c8d24e57823ab17c4.js
  2. 0 0
      dist/app.f696ef1259aa450b3c32.js
  3. 0 0
      dist/index.html
  4. 4 3
      src/App.vue

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
dist/app.dc3c8d24e57823ab17c4.js


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
dist/app.f696ef1259aa450b3c32.js


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
dist/index.html


+ 4 - 3
src/App.vue

@@ -16,9 +16,10 @@ import { queryTeacherInfo } from "@/api/app";
 export default {
   name: "app",
   async created() {
-    const whiteList = ["/order"];
-    const routePath = this.$route.path;
-    if (!whiteList.includes(routePath)) {
+    const whiteList = ["#/order"];
+    console.log(this.$route.path);
+    // const routePath = this.$route.path;
+    if (!whiteList.includes(location.hash)) {
       try {
         let Authorization = this.getQueryVariable("Authorization") || null;
         if (window.location.hash.indexOf("+") >= 0) {

Некоторые файлы не были показаны из-за большого количества измененных файлов