iview 做tree树结构3级结构,绑定模拟接口数据

    xiaoxiao2022-07-14  141

    iview 做(Tree)树结构3级结构,模拟接口数据

    先上效果图:

    后台接口数据返回是这个格式

     

    data2:[

    {

    "line": { "lineId": "02", "lineName": "2号线", "lineSname": null, "lineEname": null, "stationSName": null, "stationEName": null, "stationNum": 0, "openDate": null, "bulidCompany": null, "manageNodeid": "01010200100000001", "paProtocolId": "02" },

    "stationInfo": [

    {

    "stationInfo": { 

    最新回复(0)