Skip to content

Commit dad7be6

Browse files
committed
Changing this with self
Minor typo in the doc.
1 parent b633f04 commit dad7be6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/guide/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ Vue.component('activate-example', {
639639
activate: function (done) {
640640
var self = this
641641
loadDataAsync(function (data) {
642-
this.someData = data
642+
self.someData = data
643643
done()
644644
})
645645
}

0 commit comments

Comments
 (0)