reducer.js 報錯:Assign arrow function to a variable before exporti
2021-12-03 16:49 作者:老尚帶你學(xué)前端 | 我要投稿
reducer.js 報錯:Assign arrow function to a variable before exporting as module default? import/no-anonymous-default-export

翻譯過來就是:在模塊導(dǎo)入導(dǎo)出之前,將箭頭函數(shù)指定給變量
原來是這樣:

改成這樣:

標簽: