The problem of wepy accessing global variables

I want to set a global variable userInfo, in app.wpy and call

in the mine page.

clipboard.png

can be printed out, but I don"t know how to call it on other pages. I use the wepy framework, and some of the code is written differently. Ask for advice

.
Feb.28,2021
In

page this.$parent.globalData.userInfo get


document, it is clear that the App object can be obtained through this.$parent in the page instance.
is equivalent to the original app = getApp () to get app

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3e0e4-42d34.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3e0e4-42d34.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?