在这段代码片段中,为什么它this.identifier不起作用但_self.url有效?
getConfig() {
let _self = this;
return function () {
this.page.url = this.url || window.location.href;
this.page.identifier = _self.identifier;
this.page.category_id = this.categoryId;
this.language = this.lang;
};
}
Run Code Online (Sandbox Code Playgroud)
因此,没有let _self = this真正做?