Commit 3b5d18c9 authored by 李纪文's avatar 李纪文

fix: 修改首页配置

parent a8bf29d7
Pipeline #42399 passed with stages
in 1 minute 33 seconds
......@@ -222,8 +222,8 @@ export const defaultApp = () => {
// setDefaultMountApp(`/${pkg.name.toLocaleLowerCase()}/${basePath}${homepage}`);
// createStoreage.set('init_web4', true)
// }
let homepage = config.homepage.replace('civweb4/', '');
setDefaultMountApp(`/civbase/${homepage.replace(/^\//, '')}`);
// let homepage = config.homepage.replace('civweb4/', '');
setDefaultMountApp(`/civbase/${config.homepage.replace(/^\//, '')}`);
if(config.homepage.indexOf('civweb4') > -1) createStoreage.set('init_web4', true);
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment