app.js 452 B

12345678910111213141516171819202122232425262728
  1. import storage from '@/utils/storage'
  2. const app = {
  3. state: {
  4. // 当前终端平台
  5. platform: '',
  6. plattype: '',
  7. verifymsg: '验证身份中...',
  8. },
  9. mutations: {
  10. SET_PLATFORM: (state, value) => {
  11. state.platform = value
  12. },
  13. SET_PLATTYPE: (state, value) => {
  14. state.plattype = value
  15. },
  16. SET_VERIFYMSG: (state, value) => {
  17. state.verifymsg = value
  18. }
  19. },
  20. actions: {
  21. }
  22. }
  23. export default app