common.js 364 B

1234567891011121314151617181920212223
  1. import {
  2. statics
  3. } from '@/static/js/statics.js';
  4. import {
  5. mapState
  6. } from 'vuex';
  7. export const common = {
  8. data() {
  9. return {
  10. statics: statics
  11. }
  12. },
  13. computed: {
  14. ...mapState({
  15. tempColor: state => state.template.tempColor,
  16. tempColorRgb: state => state.template.tempColorRbg,
  17. latLng: state => state.location.location,
  18. }),
  19. },
  20. methods: {
  21. },
  22. }