问题排查 · 2019年6月14日 Element UI Tree 报 Expected Array, got Object:根节点的数据形状错了 Element UI Tree 要求顶层 data 为数组;通过根节点包装和 props 映射解决 Expected Array, got Object。 #Vue#Element UI#前后端联调