Fix error
This commit is contained in:
parent
14736620ec
commit
8ec6b2ec11
1 changed files with 16 additions and 10 deletions
|
@ -159,6 +159,14 @@ export default Vue.extend({
|
||||||
username: null,
|
username: null,
|
||||||
location: null,
|
location: null,
|
||||||
description: null,
|
description: null,
|
||||||
|
fieldName0: null,
|
||||||
|
fieldValue0: null,
|
||||||
|
fieldName1: null,
|
||||||
|
fieldValue1: null,
|
||||||
|
fieldName2: null,
|
||||||
|
fieldValue2: null,
|
||||||
|
fieldName3: null,
|
||||||
|
fieldValue3: null,
|
||||||
lang: null,
|
lang: null,
|
||||||
birthday: null,
|
birthday: null,
|
||||||
avatarId: null,
|
avatarId: null,
|
||||||
|
@ -210,16 +218,14 @@ export default Vue.extend({
|
||||||
this.carefulBot = this.$store.state.i.carefulBot;
|
this.carefulBot = this.$store.state.i.carefulBot;
|
||||||
this.autoAcceptFollowed = this.$store.state.i.autoAcceptFollowed;
|
this.autoAcceptFollowed = this.$store.state.i.autoAcceptFollowed;
|
||||||
|
|
||||||
if (this.$store.state.i.fields) {
|
this.fieldName0 = this.$store.state.i.fields[0] ? this.$store.state.i.fields[0].name : null;
|
||||||
this.fieldName0 = this.$store.state.i.fields[0].name;
|
this.fieldValue0 = this.$store.state.i.fields[0] ? this.$store.state.i.fields[0].value : null;
|
||||||
this.fieldValue0 = this.$store.state.i.fields[0].value;
|
this.fieldName1 = this.$store.state.i.fields[1] ? this.$store.state.i.fields[1].name : null;
|
||||||
this.fieldName1 = this.$store.state.i.fields[1].name;
|
this.fieldValue1 = this.$store.state.i.fields[1] ? this.$store.state.i.fields[1].value : null;
|
||||||
this.fieldValue1 = this.$store.state.i.fields[1].value;
|
this.fieldName2 = this.$store.state.i.fields[2] ? this.$store.state.i.fields[2].name : null;
|
||||||
this.fieldName2 = this.$store.state.i.fields[2].name;
|
this.fieldValue2 = this.$store.state.i.fields[2] ? this.$store.state.i.fields[2].value : null;
|
||||||
this.fieldValue2 = this.$store.state.i.fields[2].value;
|
this.fieldName3 = this.$store.state.i.fields[3] ? this.$store.state.i.fields[3].name : null;
|
||||||
this.fieldName3 = this.$store.state.i.fields[3].name;
|
this.fieldValue3 = this.$store.state.i.fields[3] ? this.$store.state.i.fields[3].value : null;
|
||||||
this.fieldValue3 = this.$store.state.i.fields[3].value;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in a new issue