Vue uses axios to call back-end data

A page needs to request two or three pieces of data from the background and render it to the page.

staticjsonaxios

the current problem is that the data cannot be displayed on the page and solved.

Nov.12,2021

this.uname = res.data [0] .uname

this.uname = res.data.uname

  

may be this.uname = res.data.data [0] .uname

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-1b30962-4e98e.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-1b30962-4e98e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?