lex-xin преди 3 години
родител
ревизия
9876cb0ea0
променени са 4 файла, в които са добавени 5 реда и са изтрити 3 реда
  1. 0 0
      dist/app.4e4f7d14426ced9f78ba.js
  2. 0 0
      dist/app.d175f1df0ec1456755ea.js
  3. 0 0
      dist/index.html
  4. 5 3
      src/App.vue

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/app.4e4f7d14426ced9f78ba.js


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/app.d175f1df0ec1456755ea.js


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/index.html


+ 5 - 3
src/App.vue

@@ -16,9 +16,11 @@ 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"];
+    // const routePath = this.$route.path;
+    const locationHash = window.location.hash;
+    console.log(this.$route.path, locationHash);
+    if (locationHash.includes('#/order') == -1) {
       try {
         let Authorization = this.getQueryVariable("Authorization") || null;
         if (window.location.hash.indexOf("+") >= 0) {

Някои файлове не бяха показани, защото твърде много файлове са промени