personal.vue 473 B

123456789101112131415161718
  1. <template>
  2. <info :info="user.data"></info>
  3. </template>
  4. <script>
  5. import Info from '~components/mobile/user/Info.vue'
  6. export default {
  7. layout: 'mobile',
  8. components: {
  9. Info
  10. },
  11. mounted () {
  12. this.$nextTick(() => {
  13. this.$store.dispatch('user/updateUserEmail', { params: {returnUrl: window.location.href} })
  14. this.$store.dispatch('user/updateUserMobile', { params: {returnUrl: window.location.href} })
  15. })
  16. }
  17. }
  18. </script>