fix: 修改主子应用链接
This commit is contained in:
parent
397bb1e806
commit
251328d45c
10
src/app.ts
10
src/app.ts
@ -16,11 +16,13 @@ export function useQiankunStateForSlave() {
|
||||
};
|
||||
}
|
||||
|
||||
const hostname = location.hostname;
|
||||
|
||||
export const qiankun = {
|
||||
apps: [
|
||||
{
|
||||
name: 'intelligent-file-cabinet', // 盒子管理
|
||||
entry: '//localhost:30068/intelligent-file-cabinet/',
|
||||
entry: `//${hostname}:30068/intelligent-file-cabinet/`,
|
||||
props: {
|
||||
accountInfo: {
|
||||
username: 'admin',
|
||||
@ -30,15 +32,15 @@ export const qiankun = {
|
||||
},
|
||||
{
|
||||
name: 'smart-video-analysis', // AI 智能分析仓
|
||||
entry: '//localhost:30088/smart-video-analysis/',
|
||||
entry: `//${hostname}:30088/smart-video-analysis/`,
|
||||
},
|
||||
{
|
||||
name: 'algorithm-warehouse', // AI 算法分析
|
||||
entry: '//localhost:30078/algorithm-warehouse/',
|
||||
entry: `//${hostname}:30078/algorithm-warehouse/`,
|
||||
},
|
||||
{
|
||||
name: 'communal-facilities-pages', // 物料库
|
||||
entry: '//localhost:30098/communal-facilities-pages/',
|
||||
entry: `//${hostname}:30098/communal-facilities-pages/`,
|
||||
},
|
||||
],
|
||||
lifeCycles: {
|
||||
|
Loading…
Reference in New Issue
Block a user