test: 无界降级测试加载渲染器
This commit is contained in:
@@ -30,8 +30,8 @@ VITE_PORT=10010
|
||||
|
||||
VITE_DEBUG_MODE = true
|
||||
|
||||
VITE_PLATFORM_URL = 'https://localhost:10010/'
|
||||
VITE_DESIGNER_URL = 'https://localhost:10011/'
|
||||
VITE_RENDERER_URL = 'https://localhost:10012/'
|
||||
VITE_V1_URL = 'https://localhost:10013/'
|
||||
VITE_PLATFORM_URL = 'https://localhost:10010'
|
||||
VITE_DESIGNER_URL = 'https://localhost:10011'
|
||||
VITE_RENDERER_URL = 'https://localhost:10012'
|
||||
VITE_V1_URL = 'https://localhost:10013'
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ VITE_DEBUG_MODE = true
|
||||
|
||||
VITE_PORT=10010
|
||||
|
||||
VITE_PLATFORM_URL = 'https://localhost:10010/'
|
||||
VITE_DESIGNER_URL = 'https://localhost:10011/'
|
||||
VITE_RENDERER_URL = 'https://localhost:10012/'
|
||||
VITE_V1_URL = 'https://localhost:10013/'
|
||||
VITE_PLATFORM_URL = 'https://localhost:10010'
|
||||
VITE_DESIGNER_URL = 'https://localhost:10011'
|
||||
VITE_RENDERER_URL = 'https://localhost:10012'
|
||||
VITE_V1_URL = 'https://localhost:10013'
|
||||
|
||||
@@ -26,7 +26,7 @@ VITE_BASE_API_URL = 'https://custom-chart-pre-api.shiyue.com/'
|
||||
VITE_DEBUG_MODE = true
|
||||
|
||||
|
||||
VITE_PLATFORM_URL = 'https://localhost:10010/'
|
||||
VITE_DESIGNER_URL = 'https://localhost:10011/'
|
||||
VITE_RENDERER_URL = 'https://localhost:10012/'
|
||||
VITE_V1_URL = 'https://localhost:10013/'
|
||||
VITE_PLATFORM_URL = 'https://localhost:10010'
|
||||
VITE_DESIGNER_URL = 'https://localhost:10011'
|
||||
VITE_RENDERER_URL = 'https://localhost:10012'
|
||||
VITE_V1_URL = 'https://localhost:10013'
|
||||
|
||||
@@ -2,8 +2,6 @@ import type { RouteRecordRaw } from 'vue-router';
|
||||
|
||||
import WujieVueRendererAdapter from '@sy/wujie-vue3-renderer-adapter';
|
||||
|
||||
import { VITE_RENDERER_URL } from '#/constants';
|
||||
|
||||
const routes: RouteRecordRaw[] = [
|
||||
{
|
||||
path: '/static-file',
|
||||
@@ -24,12 +22,15 @@ const routes: RouteRecordRaw[] = [
|
||||
title: '静态文件列表',
|
||||
},
|
||||
props: {
|
||||
// url: `${VITE_RENDERER_URL}/?fileId=7pfr394d6&projectId=4`,
|
||||
url: `${VITE_RENDERER_URL}`,
|
||||
accessToken: localStorage.getItem('y-code-access-token'),
|
||||
url: `${VITE_RENDERER_URL}?fileId=7pfr394d6&projectId=4`,
|
||||
// url: `${VITE_RENDERER_URL}`,
|
||||
// accessToken: localStorage.getItem('y-code-access-token'),
|
||||
fileId: '7pfr394d6',
|
||||
projectId: '4',
|
||||
name: 'y-code-renderer',
|
||||
name: 'StaticFileList',
|
||||
sync: true,
|
||||
degrade: true,
|
||||
// url: 'https://react.dev/',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user