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: () => ({
|
data: () => ({
|
||||||
user: '',
|
user: '',
|
||||||
decks: '',
|
decks: ''
|
||||||
cardsdb: null
|
|
||||||
}),
|
}),
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -65,8 +64,11 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
computed: {
|
||||||
|
cardsdb: () => CardsDB
|
||||||
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
this.cardsdb = CardsDB
|
|
||||||
|
|
||||||
axios
|
axios
|
||||||
.post('/user/info', {
|
.post('/user/info', {
|
||||||
|
|
Reference in a new issue