diff --git a/src/store/State.js b/src/store/State.js index 2721aa5..7f14dc3 100644 --- a/src/store/State.js +++ b/src/store/State.js @@ -1,5 +1,6 @@ export default { token: '', - referrer: '' + referrer: '', + treeDataStore: [] } \ No newline at end of file diff --git a/src/store/mutations.js b/src/store/mutations.js index f2ff34e..d19df36 100644 --- a/src/store/mutations.js +++ b/src/store/mutations.js @@ -6,4 +6,7 @@ export default { state.token = payload.token state.referrer = payload.referrer }, + setTreeDataStore(state, { treeDataStore }) { + state.treeDataStore = treeDataStore + } } \ No newline at end of file diff --git a/src/views/Transaction.vue b/src/views/Transaction.vue index 827aa50..c97b235 100644 --- a/src/views/Transaction.vue +++ b/src/views/Transaction.vue @@ -1,8 +1,6 @@