common.js 434 B

123456789101112131415161718192021222324252627
  1. import { REST } from 'vuejs/api/rest-axios'
  2. import { JSONAPI } from 'vuejs/api/json-axios'
  3. import qs from 'querystring'
  4. export default {
  5. namespaced: true,
  6. // initial state
  7. state : {
  8. pagetitle:null,
  9. },
  10. // getters
  11. getters : {},
  12. // mutations
  13. mutations : {
  14. setPagetitle (state, title) {
  15. console.log('Common, setPagetitle', title);
  16. state.pagetitle = title
  17. }
  18. },
  19. // actions
  20. actions : {}
  21. }