fix #3472 table columns infinite loop

This commit is contained in:
Kindy Lin 2018-12-10 11:40:49 +08:00
parent eaddbfb000
commit 76965bf175

View file

@ -833,7 +833,7 @@
// id便
makeColumnsId (columns) {
return columns.map(item => {
if ('children' in item) item.children = this.makeColumnsId(item.children);
if ('children' in item) this.makeColumnsId(item.children);
item.__id = getRandomStr(6);
return item;
});