add nodes style based on text props

This commit is contained in:
axolotle
2021-02-24 22:13:02 +01:00
parent 7813b9aa07
commit ced1d9c354
3 changed files with 30 additions and 13 deletions
+2 -2
View File
@@ -15,8 +15,8 @@ export default {
},
created () {
this.$store.dispatch('GET_TEXT', 1).then(({ data }) => {
this.text = data.data.textref
this.$store.dispatch('GET_TEXT', { id: 1 }).then(data => {
this.text = data.textref
})
}
}