let cell = cc.instantiate(this.cellPrefab);
cell.parent = this.panel;
cell.position = this.otherNodeArr[i][j];
this.allNode[i][j] = cell;
const comp = cell.getComponent(Cell);
…
在将这个预制体节点cell赋给 this.allNode[i][j]的时候, this.allNode[i][j]中存储的不是cc_Node,存的是comp,这到底是啥原因

希望能够得到解答
看不出啥,你确定没在别的地方修改allNode的内容吗?