We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cabfdd7 commit f6c2aa1Copy full SHA for f6c2aa1
packages/xgplayer/src/plugins/definition/index.js
@@ -103,7 +103,7 @@ export default class DefinitionIcon extends OptionsIcon {
103
}
104
105
renderItemList (list = this.config.list || [], to) {
106
- 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
107
if (to) {
108
list.forEach((item) => {
109
item.selected = false
0 commit comments