In Mini Program, how to determine which page opens the current page?

Today, you can"t get it with getCurrentPages (). There"s only one member in the array all the time. Is there any other way?


it's best to use getCurrentPages . If you really can't get it, you can try to define a global variable to store the page field to determine.

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