Parcourir la source

更新优化打包

lex-xin il y a 3 ans
Parent
commit
726fa3519a
4 fichiers modifiés avec 4 ajouts et 3 suppressions
  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

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/app.dc3c8d24e57823ab17c4.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/app.f696ef1259aa450b3c32.js


Fichier diff supprimé car celui-ci est trop grand
+ 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) {

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff