feat:修复同时集成时跳转错误问题

main
liu.tao3 1 year ago
parent b1164ee1c3
commit b58d43e540

@ -51,7 +51,7 @@ function registerRouters (config, router) {
}, },
{ {
path: config?.routers?.templateListUrl || '/big-screen-template', path: config?.routers?.templateListUrl || '/big-screen-template',
name: 'Template', name: 'BigScreenTemplate',
component: () => component: () =>
require.ensure([], () => require('data-room-ui/BigScreenTempMag')), require.ensure([], () => require('data-room-ui/BigScreenTempMag')),
meta: { meta: {
@ -97,13 +97,13 @@ function registerRouters (config, router) {
}, },
{ {
path: config?.routers?.designUrl || '/big-screen/design', path: config?.routers?.designUrl || '/big-screen/design',
name: 'Design', name: 'BigScreenDesign',
component: () => component: () =>
require.ensure([], () => require('data-room-ui/BigScreenDesign')) require.ensure([], () => require('data-room-ui/BigScreenDesign'))
}, },
{ {
path: config?.routers?.previewUrl || '/big-screen/preview', path: config?.routers?.previewUrl || '/big-screen/preview',
name: 'Preview', name: 'BigScreenPreview',
component: () => component: () =>
require.ensure([], () => require('data-room-ui/BigScreenRun')) require.ensure([], () => require('data-room-ui/BigScreenRun'))
}, },

Loading…
Cancel
Save