fix most of vue warnings for accompanyingCourse component

This commit is contained in:
2021-07-07 19:24:54 +02:00
parent f0232228a3
commit 1392365257
5 changed files with 14 additions and 14 deletions

View File

@@ -155,9 +155,9 @@ export default {
])];
return uniqBy(union, k => k.key);
},
options() {
return this.options;
},
//options() {
// return this.options;
//},
checkUniq() {
if (this.options.uniq === true) {
return 'radio';

View File

@@ -162,7 +162,7 @@ export default {
getPerson(this.id)
.then(person => new Promise((resolve, reject) => {
this.person = person;
console.log('get person', this.person);
//console.log('get person', this.person);
resolve();
}));
},
@@ -170,7 +170,7 @@ export default {
postPerson(this.person)
.then(person => new Promise((resolve, reject) => {
this.person = person;
console.log('post person', person);
//console.log('post person', person);
resolve();
}));
}