fix(系统设置): Azure 无法填写私有化地址

This commit is contained in:
jianxing 2023-07-14 14:33:18 +08:00 committed by fit2-zhao
parent d326153ea1
commit 9d59861ebd
2 changed files with 0 additions and 5 deletions

View File

@ -45,7 +45,6 @@ export const TAPD = 'Tapd';
export const ZEN_TAO = 'Zentao'; export const ZEN_TAO = 'Zentao';
export const LOCAL = 'Local'; export const LOCAL = 'Local';
export const AZURE_DEVOPS = 'AzureDevops'; export const AZURE_DEVOPS = 'AzureDevops';
export const AZURE_DEVOP_URL = 'https://dev.azure.com/';
export const GROUP_SYSTEM = 'SYSTEM'; export const GROUP_SYSTEM = 'SYSTEM';
export const GROUP_WORKSPACE = 'WORKSPACE'; export const GROUP_WORKSPACE = 'WORKSPACE';

View File

@ -188,10 +188,6 @@ export default {
}); });
}, },
testConnection() { testConnection() {
if (!(this.form.url === AZURE_DEVOP_URL)) {
this.$warning(this.$t('organization.integration.azure_url_check'));
return false;
}
if (this.form.pat) { if (this.form.pat) {
this.$parent.loading = authServiceIntegration(getCurrentWorkspaceId(), AZURE_DEVOPS).then(() => { this.$parent.loading = authServiceIntegration(getCurrentWorkspaceId(), AZURE_DEVOPS).then(() => {
this.$success(this.$t('organization.integration.verified')); this.$success(this.$t('organization.integration.verified'));