Commit 1c79d81f authored by 杨思琦's avatar 杨思琦

fix: 云平台关闭缓存

parent dac1291c
Pipeline #74732 waiting for manual action with stages
......@@ -369,7 +369,11 @@ class Login {
// 产品类型和首页路径同时有才行
// eslint-disable-next-line prettier/prettier
const homepage = params.getParams('homepage') ? params.getParams('homepage') : homeType && config.homepage ? `${homeType}/${params.getParams('homepage') || config.homepage}` : '';
window.qiankunIsCache = config.isCache || false;
window.qiankunIsCache =
window.location.origin.replace(/^(http|https):\/\//, '') === 'panda-water.cn'
? false
: config.isCache || false;
if (config.productType === 'civweb4') window.qiankunIsCache = false;
self.globalConfig = Object.assign(self.globalConfig, config, {
theme: self.globalConfig.theme,
menu: self.globalConfig.menu,
......
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