tangning 7 months ago
parent
commit
d4f31a1650
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/request/index.ts
  2. 1 1
      src/view/layout/index.vue

+ 1 - 1
src/request/index.ts

@@ -95,7 +95,7 @@ const responseInterceptor = (res: AxiosResponse<any, any>) => {
       type: "warning",
       type: "warning",
       showClose: false
       showClose: false
     }).then(async () => {
     }).then(async () => {
-      window.open(window.location.origin + "/admin/#/login");
+      window.open(window.location.origin + "/admin/#/statistics/scene");
     });
     });
   };
   };
   if (!successCode.includes(res.data.code)) {
   if (!successCode.includes(res.data.code)) {

+ 1 - 1
src/view/layout/index.vue

@@ -66,7 +66,7 @@ const caseId = computed(() => {
     return Number(caseId);
     return Number(caseId);
   }
   }
 });
 });
-const sceneURL = ref(null)
+const sceneURL = ref(`/code/index.html?caseId=${caseId.value}&single#/show`)
 const sceneList = computed(() => {
 const sceneList = computed(() => {
   let mylist = getCaseSceneListData()
   let mylist = getCaseSceneListData()
   return [{ id: -1, type: 99, name: '多元融合' }, ...mylist];
   return [{ id: -1, type: 99, name: '多元融合' }, ...mylist];