From 9d59861ebd06d9b9ea2eccd580ffcd44d477bcd3 Mon Sep 17 00:00:00 2001 From: jianxing Date: Fri, 14 Jul 2023 14:33:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20Az?= =?UTF-8?q?ure=20=E6=97=A0=E6=B3=95=E5=A1=AB=E5=86=99=E7=A7=81=E6=9C=89?= =?UTF-8?q?=E5=8C=96=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- framework/sdk-parent/frontend/src/utils/constants.js | 1 - .../src/business/workspace/integration/AzureDevopsSetting.vue | 4 ---- 2 files changed, 5 deletions(-) diff --git a/framework/sdk-parent/frontend/src/utils/constants.js b/framework/sdk-parent/frontend/src/utils/constants.js index b1968480ff..f35f4702ba 100644 --- a/framework/sdk-parent/frontend/src/utils/constants.js +++ b/framework/sdk-parent/frontend/src/utils/constants.js @@ -45,7 +45,6 @@ export const TAPD = 'Tapd'; export const ZEN_TAO = 'Zentao'; export const LOCAL = 'Local'; export const AZURE_DEVOPS = 'AzureDevops'; -export const AZURE_DEVOP_URL = 'https://dev.azure.com/'; export const GROUP_SYSTEM = 'SYSTEM'; export const GROUP_WORKSPACE = 'WORKSPACE'; diff --git a/system-setting/frontend/src/business/workspace/integration/AzureDevopsSetting.vue b/system-setting/frontend/src/business/workspace/integration/AzureDevopsSetting.vue index ebaa447ad6..61efac9ecc 100644 --- a/system-setting/frontend/src/business/workspace/integration/AzureDevopsSetting.vue +++ b/system-setting/frontend/src/business/workspace/integration/AzureDevopsSetting.vue @@ -188,10 +188,6 @@ export default { }); }, testConnection() { - if (!(this.form.url === AZURE_DEVOP_URL)) { - this.$warning(this.$t('organization.integration.azure_url_check')); - return false; - } if (this.form.pat) { this.$parent.loading = authServiceIntegration(getCurrentWorkspaceId(), AZURE_DEVOPS).then(() => { this.$success(this.$t('organization.integration.verified'));