diff --git a/frontend/index-dev.html b/frontend/index-dev.html index 66a86dd35..7e97071b3 100644 --- a/frontend/index-dev.html +++ b/frontend/index-dev.html @@ -22,7 +22,7 @@ const GLOBAL_TASK_CONFIG_PERMISSION = 'True' const GLOBAL_SETTING_PERMISSION = 'True' const USE_IAM = 'True' - const APP_CODE = 'bk_nodeman' + const APP_CODE = 'bkc-nodeman' const WXWORK_UIN = '' const DESTOP_URL = '' const BKAPP_NODEMAN_CALLBACK_URL = '' @@ -42,6 +42,7 @@ const BKAPP_NAV_HELPER_URL = '' const ENABLE_AP_VERSION_MUTEX = 'False' const ENABLE_NOTICE_CENTER = 'False' + const BKPAAS_SHARED_RES_URL = '' return { SITE_URL: SITE_URL, @@ -79,6 +80,7 @@ BKAPP_NAV_HELPER_URL, ENABLE_AP_VERSION_MUTEX, ENABLE_NOTICE_CENTER, + BKPAAS_SHARED_RES_URL, } })() window.$DHCP = window.PROJECT_CONFIG.BKAPP_ENABLE_DHCP === 'True' diff --git a/frontend/index.html b/frontend/index.html index 03db87b56..d8bde620d 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -46,6 +46,7 @@ const BKAPP_NAV_OPEN_SOURCE_URL = '{{ BKAPP_NAV_OPEN_SOURCE_URL }}' const ENABLE_AP_VERSION_MUTEX = '{{ ENABLE_AP_VERSION_MUTEX }}' const ENABLE_NOTICE_CENTER = '{{ ENABLE_NOTICE_CENTER }}' + const BKPAAS_SHARED_RES_URL = '{{ BKPAAS_SHARED_RES_URL }}' return { APP_CODE, @@ -65,6 +66,7 @@ DESTOP_URL, ENABLE_AP_VERSION_MUTEX, ENABLE_NOTICE_CENTER, + BKPAAS_SHARED_RES_URL, GLOBAL_TASK_CONFIG_PERMISSION, GLOBAL_SETTING_PERMISSION, GSE_LISTEN_PORT, diff --git a/frontend/package.json b/frontend/package.json index 30b75c744..ed25af804 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -47,6 +47,7 @@ "@blueking/login-modal": "^1.0.1", "@blueking/notice-component-vue2": "~2.0.1", "@blueking/paas-login": "0.0.9", + "@blueking/platform-config": "^1.0.3", "@icon-cool/bk-icon-node-manager": "latest", "axios": "0.26.1", "bk-magic-vue": "2.5.6", diff --git a/frontend/src/App.vue b/frontend/src/App.vue index c4a8236ef..e5875233e 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -14,7 +14,7 @@