diff --git a/packages/artplayer-plugin-chapter/src/index.js b/packages/artplayer-plugin-chapter/src/index.js index d51ad73eb..b2cc8c9f6 100644 --- a/packages/artplayer-plugin-chapter/src/index.js +++ b/packages/artplayer-plugin-chapter/src/index.js @@ -179,7 +179,7 @@ export default function artplayerPluginChapter(option = {}) { return { name: 'artplayerPluginChapter', - update: (chapters) => update(chapters), + update: ({ chapters }) => update(chapters), }; }; }