app.js 358 B

1234567891011121314151617181920212223242526
  1. import {
  2. getConfig
  3. } from '@/utils/auth';
  4. const getDefaultSate = () => {
  5. const config = getConfig();
  6. return {
  7. app_id: '',
  8. config: {
  9. logo_image_url_mobile: config?.logo_image_url_mobile ?? ''
  10. }
  11. };
  12. };
  13. const state = getDefaultSate();
  14. const mutations = {};
  15. const actions = {};
  16. export default {
  17. namespaced: true,
  18. state,
  19. mutations,
  20. actions
  21. };