diff --git a/frontend/src/business/components/settings/system/SystemParameterSetting.vue b/frontend/src/business/components/settings/system/SystemParameterSetting.vue index 066869440c..1350ad0dac 100644 --- a/frontend/src/business/components/settings/system/SystemParameterSetting.vue +++ b/frontend/src/business/components/settings/system/SystemParameterSetting.vue @@ -136,15 +136,8 @@ this.$refs[formInline].validate((valid) => { if (valid) { this.result = this.$post("/system/testConnection", param, response => { - let flag = response.success; - if (flag) { - this.$success(this.$t('commons.connection_successful')); - } else { - this.$error(this.$t('commons.connection_failed')); - } - }).catch(() => { - this.$info(this.$t('commons.connection_failed')); - }); + this.$success(this.$t('commons.connection_successful')); + }) } else { return false; }