fix: env parameters error

This commit is contained in:
scarqin 2023-03-05 22:16:05 +08:00
parent 4d29e76d85
commit 9cc55134e3
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ export class EnvEditComponent implements OnDestroy, TabViewComponent {
this.model = {
name: '',
hostUri: '',
parameters: '[]'
parameters: []
};
this.initialModel = eoDeepCopy(this.model);
} else {

View File

@ -235,7 +235,7 @@ export interface Environment extends StorageModel {
/**
* Env parameters
*/
parameters?: string;
parameters?: string | any[];
}
/**