mirror of https://github.com/ElemeFE/element
parent
c672727673
commit
c07609b840
|
@ -87,14 +87,14 @@ TableStore.prototype.mutations = {
|
||||||
states._data = data;
|
states._data = data;
|
||||||
states.data = sortData((data || []), states);
|
states.data = sortData((data || []), states);
|
||||||
|
|
||||||
states.data.forEach((item) => {
|
// states.data.forEach((item) => {
|
||||||
if (!item.$extra) {
|
// if (!item.$extra) {
|
||||||
Object.defineProperty(item, '$extra', {
|
// Object.defineProperty(item, '$extra', {
|
||||||
value: {},
|
// value: {},
|
||||||
enumerable: false
|
// enumerable: false
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
|
|
||||||
this.updateCurrentRow();
|
this.updateCurrentRow();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue