tangning 7 月之前
父節點
當前提交
d4f31a1650
共有 2 個文件被更改,包括 2 次插入2 次删除
  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",
       showClose: false
     }).then(async () => {
-      window.open(window.location.origin + "/admin/#/login");
+      window.open(window.location.origin + "/admin/#/statistics/scene");
     });
   };
   if (!successCode.includes(res.data.code)) {

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

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