fix(系统设置): Azure 无法填写私有化地址
This commit is contained in:
parent
d326153ea1
commit
9d59861ebd
|
@ -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';
|
||||||
|
|
|
@ -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'));
|
||||||
|
|
Loading…
Reference in New Issue