fix: Dashboard.jsx 修复 limit 未定义 ReferenceError
This commit is contained in:
@@ -43,7 +43,7 @@ function Dashboard() {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
Promise.all([
|
Promise.all([
|
||||||
listEpisodes(limit = 9),
|
listEpisodes(9),
|
||||||
listTargets(),
|
listTargets(),
|
||||||
]).then(([epData, tgtData]) => {
|
]).then(([epData, tgtData]) => {
|
||||||
// 按 air_date 倒序取前 9
|
// 按 air_date 倒序取前 9
|
||||||
|
|||||||
Reference in New Issue
Block a user