mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
updata:删除多余的getServerList方法,删除重复定义的computed块
This commit is contained in:
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');
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue