關於箭頭函數的 this 綁定

問題是怎麼產生的 測試箭頭函數在不一樣情景下的使用,當測試到Vue內生命週期調用計時器時,使用箭頭函數渲染,普通函數不渲染,代碼:javascript <template> <div class="container"> <div :class="{'style1': this.styleType == 1, 'style2': this.styleType == 2}">測試箭頭函數
相關文章
相關標籤/搜索