学员端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
535 B

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. // import addApi from '@/api/add.js'; // 引入
  2. const school = {
  3. state: {
  4. schoolCoach: {},
  5. schoolClass: {},
  6. BizToken: uni.getStorageSync('BizToken') ? uni.getStorageSync('BizToken') : ''
  7. },
  8. mutations: {
  9. // 更新选择的驾校与教练
  10. upDateSchoolCoach(state, obj) {
  11. state.schoolCoach = obj
  12. },
  13. upDateSchoolClass(state, obj) {
  14. state.schoolClass = obj
  15. },
  16. updateBizToken(state, val) {
  17. uni.setStorageSync('BizToken', val)
  18. state.BizToken = val
  19. },
  20. },
  21. actions: {
  22. }
  23. }
  24. export default school