Return in Alipay Mini Program js returns the value undfined.

clipboard.png
the function jionOrder in Alipay Mini Program tools/tools.js is used to add order elements to the passed array and assign values. However, calling this method on the page page returns a value of undfined

.
Apr.11,2022

1. Make sure that the jionOrde is called in the asynchronous data acquisition success callback function.
2. this.logo what the heck? You don't want to log in before adding an order, do you?
3. Under the naming convention. logo does it mean to log in? the word jionOrde seems to be misspelled.


return arr is followed by a comma? The whole function will not run down after return. It is useless to print the sentence behind your return

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