diff --git a/frontend/build/paas-server.js b/frontend/build/paas-server.js index 28eb1cc8c..cdf01c7d2 100644 --- a/frontend/build/paas-server.js +++ b/frontend/build/paas-server.js @@ -59,7 +59,8 @@ const GLOBAL_VAR = { CSRF_COOKIE_NAME: process.env.CSRF_COOKIE_NAME || '', SESSION_COOKIE_DOMAIN: process.env.SESSION_COOKIE_DOMAIN || '', BK_ITSM_APP_URL: process.env.BK_ITSM_APP_URL || '', - ENABLE_MODEL_BUILD: process.env.ENABLE_MODEL_BUILD || '' + ENABLE_MODEL_BUILD: process.env.ENABLE_MODEL_BUILD || '', + BK_COMPONENT_API_URL: process.env.BK_COMPONENT_API_URL || '' } // APA 重定向回首页,由首页Route响应处理 diff --git a/frontend/src/views/grading-admin/components/render-instance-table.vue b/frontend/src/views/grading-admin/components/render-instance-table.vue index 06c7c5fd5..7fcc0252f 100644 --- a/frontend/src/views/grading-admin/components/render-instance-table.vue +++ b/frontend/src/views/grading-admin/components/render-instance-table.vue @@ -460,7 +460,8 @@ window.changeDialog = true const conditionData = this.$refs.renderResourceRef.handleGetValue() const { isEmpty, data } = conditionData - if (isEmpty) { + if (isEmpty || data[0] === 'none') { + this.isShowResourceInstanceSideslider = false return } diff --git a/frontend/src/views/perm-apply/components/resource-instance-table.vue b/frontend/src/views/perm-apply/components/resource-instance-table.vue index 87bf3c151..6c56fbdae 100644 --- a/frontend/src/views/perm-apply/components/resource-instance-table.vue +++ b/frontend/src/views/perm-apply/components/resource-instance-table.vue @@ -94,7 +94,7 @@