[Vuejs]-How to access data property from nested hook function?

1👍

You must get the this reference. Please, try something like it:

mounted() {
    var self = this
    function1() {
       function2() {
            self.loading = false
        } 
    }
}

Leave a comment