vue + element table the first row highlighted by default

1. The table is provided to ref = 'multipleTable'

2. Set Default to multipleTable multipleTable = []

3. Add the acquired position data

this.$refs.multipleTable.setCurrentRow(this.info,true);即可

Guess you like

Origin www.cnblogs.com/wjw-/p/11606325.html