diff --git a/webfe/package_vue/src/common/platform-config.js b/webfe/package_vue/src/common/platform-config.js index 39e529923b..82600af4d0 100644 --- a/webfe/package_vue/src/common/platform-config.js +++ b/webfe/package_vue/src/common/platform-config.js @@ -50,7 +50,9 @@ export default async function (vm) { }; try { - const config = await getPlatformConfig(url, defaults); + const config = window.BK_SHARED_RES_URL + ? await getPlatformConfig(url, defaults) + : await getPlatformConfig(defaults); applyPlatformConfig(config); } catch (error) { applyPlatformConfig(defaults);