updata:删除多余的getServerList方法,删除重复定义的computed块

This commit is contained in:
rainv123
2025-09-19 11:37:24 +08:00
parent 4e958ce57c
commit 3fb925f13d
2 changed files with 1 additions and 4 deletions
@@ -151,9 +151,7 @@ export default {
providerCode: [{ required: true, message: this.$t('providerDialog.requiredCode'), trigger: 'blur' }],
name: [{ required: true, message: this.$t('providerDialog.requiredName'), trigger: 'blur' }]
};
}
},
computed: {
},
hasIncompleteFields() {
return this.form.fields && this.form.fields.some(field =>
!field.key || !field.label || !field.type
@@ -72,7 +72,6 @@ export default {
this.fetchParams();
},
mounted() {
this.getServerList();
this.dialogTitle = this.$t('paramManagement.addParam');
},