摘要: 问题描述:接口返回tree型数据,前端需要展示三个下拉框,每一子集选项由父级确定。 数据结构:build -> floor -> room。 通过监听build选中计算出响应的floorList,同理计算出roomList。 实现问题:build切换时,this.from.floorId = nul 阅读全文
posted @ 2020-12-16 10:14 eightabs 阅读(391) 评论(0) 推荐(0) 编辑