|
@@ -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) {
|