mixins.js 399 B

12345678910111213141516171819202122
  1. import { mapGetters } from "vuex";
  2. export default {
  3. props: {
  4. activeItem: Array,
  5. // treeList:Array
  6. },
  7. computed: {
  8. userinfo(){
  9. return this.$s.getObj('userinfo')
  10. },
  11. form() {
  12. return this.$store.state.chart.form
  13. },
  14. treeList() {
  15. return this.$store.state.chart.treeList
  16. },
  17. selected() {
  18. return this.$store.state.chart.selected
  19. },
  20. },
  21. }