Merge remote-tracking branch 'origin/v1.3' into v1.3

This commit is contained in:
wenyann 2020-10-12 13:05:31 +08:00
commit e4dde84d15
5 changed files with 7 additions and 4 deletions

View File

@ -16,16 +16,19 @@ public class KeyValue {
private boolean enable;
public KeyValue() {
this.enable = true;
}
public KeyValue(String name, String value) {
this.name = name;
this.value = value;
this.enable = true;
}
public KeyValue(String name, String value, String description) {
this.name = name;
this.value = value;
this.enable = true;
this.description = description;
}
}

@ -1 +1 @@
Subproject commit c2dacf960cdb1ed35664bdd3432120b1203b73d8
Subproject commit cf6b06526324326a563d933e07118fac014a63b4

View File

@ -103,7 +103,7 @@
},
},
created() {
if (this.items.length === 0) {
if (this.items.length === 0 || this.items[this.items.length - 1].name) {
this.items.push(new KeyValue({enable: true}));
}
}

View File

@ -168,7 +168,7 @@
}
},
created() {
if (this.parameters.length === 0) {
if (this.parameters.length === 0 || this.parameters[this.parameters.length - 1].name) {
this.parameters.push(new KeyValue( {type: 'text', enable: true, uuid: this.uuid(), contentType: 'text/plain'}));
}
}

@ -1 +1 @@
Subproject commit cc38137a69a0f20fadece9c0f9f50a9468c4ace9
Subproject commit 06d935cd1d22ab36f09763745c2aff8ad3fb08c1