cardsdb computed property
This commit is contained in:
parent
3f6b91f5ca
commit
0a5df6accc
1 changed files with 5 additions and 3 deletions
|
@ -42,8 +42,7 @@ export default {
|
|||
|
||||
data: () => ({
|
||||
user: '',
|
||||
decks: '',
|
||||
cardsdb: null
|
||||
decks: ''
|
||||
}),
|
||||
|
||||
methods: {
|
||||
|
@ -65,8 +64,11 @@ export default {
|
|||
}
|
||||
},
|
||||
|
||||
computed: {
|
||||
cardsdb: () => CardsDB
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.cardsdb = CardsDB
|
||||
|
||||
axios
|
||||
.post('/user/info', {
|
||||
|
|
Reference in a new issue