add nodes style based on text props
This commit is contained in:
+2
-2
@@ -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
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user