Commit c07609b8 authored by cinwell.li's avatar cinwell.li Committed by baiyaaaaa

Table: fix data is an array of numbers, fixed #2108 (#2576)

parent c6727276
......@@ -87,14 +87,14 @@ TableStore.prototype.mutations = {
states._data = data;
states.data = sortData((data || []), states);
states.data.forEach((item) => {
if (!item.$extra) {
Object.defineProperty(item, '$extra', {
value: {},
enumerable: false
});
}
});
// states.data.forEach((item) => {
// if (!item.$extra) {
// Object.defineProperty(item, '$extra', {
// value: {},
// enumerable: false
// });
// }
// });
this.updateCurrentRow();
......
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