Will all pages of mpvue inherit src/app.vue?

No detailed information was found. As far as I understand it, src/app.vue is a global configuration, because I wrote an onLaunch method in app.vue, which jumps to authorization without authorization, but then I write an onUnload method, which has no effect and can only be written in a specific page. The onUnload code is as follows:

onUnload() {
    wx.navigateTo({
        url: "/pages/index/main"
    });
}

what is the reason for this?

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