lrf402788946 4 năm trước cách đây
mục cha
commit
9d9e250c91
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      src/store/index.js

+ 5 - 0
src/store/index.js

@@ -80,4 +80,9 @@ export default new Vuex.Store({
   state: { ...ustate, ...dostate },
   mutations: { ...umutations, ...domutations },
   actions: {},
+  getters: {
+    topOptions: state => {
+      return state.defaultOption;
+    },
+  },
 });