mirror of https://github.com/ElemeFE/element
Fix issue 5340
parent
005415143c
commit
8be103aef1
|
@ -94,7 +94,7 @@ export default {
|
||||||
if (!this.store.states.isComplex) return;
|
if (!this.store.states.isComplex) return;
|
||||||
const el = this.$el;
|
const el = this.$el;
|
||||||
if (!el) return;
|
if (!el) return;
|
||||||
const rows = el.querySelectorAll('tbody > tr');
|
const rows = el.querySelectorAll('tbody > tr.el-table__row');
|
||||||
const oldRow = rows[oldVal];
|
const oldRow = rows[oldVal];
|
||||||
const newRow = rows[newVal];
|
const newRow = rows[newVal];
|
||||||
if (oldRow) {
|
if (oldRow) {
|
||||||
|
|
Loading…
Reference in New Issue