diff options
| author | taehoon <th.dev91@gmail.com> | 2019-08-09 23:48:08 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-08-15 13:25:38 -0400 |
| commit | df3e80b7c3fc91cbd62764be467d1dfe28b4b299 (patch) | |
| tree | 266b9addd6c988322da35a291cb6d9dbf5c6b00e /src/components/interactions/interactions.js | |
| parent | cd14566a34013e65b603a71208d058871e992956 (diff) | |
use key prop instead of dataset to identify active tab
Diffstat (limited to 'src/components/interactions/interactions.js')
| -rw-r--r-- | src/components/interactions/interactions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/interactions/interactions.js b/src/components/interactions/interactions.js index 90dbd76b..1f8a9de9 100644 --- a/src/components/interactions/interactions.js +++ b/src/components/interactions/interactions.js @@ -13,8 +13,8 @@ const Interactions = { } }, methods: { - onModeSwitch (dataset) { - this.filterMode = tabModeDict[dataset.filter] + onModeSwitch (key) { + this.filterMode = tabModeDict[key] } }, components: { |
