this指向问题

遇到八百遍了!!使用 function(){ } 时 里面不能用this,要给this重新赋值 ,或者换成箭头函数

ps: 求求不要在遇到老项目了

posted @ 2024-04-11 11:24  三水儿  阅读(1)  评论(0编辑  收藏  举报