Commit 8be103ae authored by Harlan's avatar Harlan Committed by 杨奕

Fix issue 5340

parent 00541514
...@@ -94,7 +94,7 @@ export default { ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment