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.
 
 
 
 
 
 

27 line
614 B

  1. <template>
  2. <view class="page">
  3. <l-input :value="currentUser.mobile || ''" title="手机" disabled></l-input>
  4. <l-input :value="currentUser.email || ''" title="邮箱" disabled></l-input>
  5. <l-input :value="currentUser.weChat || ''" title="微信" disabled></l-input>
  6. <l-input :value="currentUser.oICQ || ''" title="QQ" disabled></l-input>
  7. </view>
  8. </template>
  9. <script>
  10. export default {
  11. computed: {
  12. currentUser() {
  13. return this.GET_GLOBAL('loginUser')
  14. }
  15. },
  16. mounted() {
  17. this.init()
  18. },
  19. methods:{
  20. init(){
  21. console.log(this.GET_GLOBAL('loginUser'))
  22. }
  23. }
  24. }
  25. </script>