The vue recommendation page goes to the playlist and reports an error jp0 is not defined.

recommend the list of pages. Click on the page of the playlist. After the route is redirected, get the data in this page
written in jsonp:
getRecommendListData () {

  var urlDisstid = location.href
  var id = urlDisstid.lastIndexOf("/")
  var urlid = urlDisstid.substring(id + 1, urlDisstid.length)
  Jsonp(
    "https://c.y.qq.com/qzone/fcg-bin/fcg_ucc_getcdinfo_byids_cp.fcg",
    {
      type: 1,
      json: 1,
      utf8: 1,
      onlysong: 0,
      disstid: urlid,
      format: "jsonp",
      g_tk: 5381,
      loginUin: 0,
      hostUin: 0,
      format: "jsonp",
      inCharset: "utf8",
      outCharset: "utf - 8",
      notice: 0,
      platform: "yqq",
      needNewCode: 0
    }
  ).then(res => {
    console.log(res)
  })
   jp1 is not defined 
  jp0
  

clipboard.png

clipboard.png

clipboard.png
how did you do it? Why mine is different

Jun.01,2021

has just tried, and I do have this problem. I found that the default prefix of jsonp is _ _ jp in the callback. I don't know why I lost the previous _ _ in the callback, leaving jp , and customizing a callback prefix without _ is solved. The cause of the problem is unknown, so I won't study

.
jsonp(
  'https://c.y.qq.com/qzone/fcg-bin/fcg_ucc_getcdinfo_byids_cp.fcg',
  {prefix: 'jp'},
  (err, res) => {
    console.log(err, res)
  }
)

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