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

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


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


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


+ 2 - 2
src/App.vue

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

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