From 6b2f389502fc28b406ff75f3e03fb17b281ee576 Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Fri, 25 Feb 2022 15:04:38 +0800 Subject: [PATCH] update --- src/store/State.js | 3 +- src/store/mutations.js | 3 + src/views/Transaction.vue | 261 +++++++++++++++----------------------- 3 files changed, 109 insertions(+), 158 deletions(-) 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 @@