lex-xin 3 年之前
父節點
當前提交
d350840549
共有 4 個文件被更改,包括 2 次插入1 次删除
  1. 0 0
      dist/app.dc3c8d24e57823ab17c4.js
  2. 0 0
      dist/app.fbd4444af499d6b1a283.js
  3. 0 0
      dist/index.html
  4. 2 1
      src/App.vue

文件差異過大導致無法顯示
+ 0 - 0
dist/app.dc3c8d24e57823ab17c4.js


文件差異過大導致無法顯示
+ 0 - 0
dist/app.fbd4444af499d6b1a283.js


文件差異過大導致無法顯示
+ 0 - 0
dist/index.html


+ 2 - 1
src/App.vue

@@ -19,7 +19,8 @@ export default {
     const whiteList = ["#/order"];
     console.log(this.$route.path);
     // const routePath = this.$route.path;
-    if (!whiteList.includes(location.hash)) {
+    const locationHash = window.location.hash;
+    if (locationHash.includes('#/order') != -1) {
       try {
         let Authorization = this.getQueryVariable("Authorization") || null;
         if (window.location.hash.indexOf("+") >= 0) {

部分文件因文件數量過多而無法顯示