diff --git a/packages/xgplayer/src/plugins/definition/index.js b/packages/xgplayer/src/plugins/definition/index.js index 0e701968c..5d2b362e5 100644 --- a/packages/xgplayer/src/plugins/definition/index.js +++ b/packages/xgplayer/src/plugins/definition/index.js @@ -103,7 +103,7 @@ export default class DefinitionIcon extends OptionsIcon { } renderItemList (list = this.config.list || [], to) { - const targetDef = to && to.definition ? to.definition : this.config.defaultDefinition + const targetDef = to && to.definition ? to.definition : this.curItem ? this.curItem.definition : this.config.defaultDefinition if (to) { list.forEach((item) => { item.selected = false