Pārlūkot izejas kodu

更新优化打包

lex-xin 3 gadi atpakaļ
vecāks
revīzija
726fa3519a

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/app.dc3c8d24e57823ab17c4.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/app.f696ef1259aa450b3c32.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 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) {

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels