The Mini Program incident is different.

these are the two click events of Mini Program. Is there any difference?

the first type

switchNav: function(event) {
    console.log(event)
}

second type:

    switchNav(event) {
        console.log(event)
    }
Mar.22,2021

one is ES5, the other is ES6, the same

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