Old Driver

Results 3 comments of Old Driver

{ "id":15451, "code":"20", "recordName":"君珏B区", "pid":0, "dictionaryIndex":null, "typeId":4, "children":[ { "id":538604, "code":"2091", "recordName":"3,4过道", "pid":15451, "dictionaryIndex":"91", "typeId":4, "children":null }, 主要是要把这种2层嵌套的数据放进去,如果改成自定义像如下这样: myProps: { label: 'recordName', value: 'id', children: 'children', } 滚轮里边的数据显示倒是没问题了,但是无法赋值this.value2 = e.item.map(m...

myProps: { label: 'recordName', value: 'id', } 单选自定义字段后,怎么获取这个id呢? this.value2 = e.item.map(m => m.id) 这样貌似不行

我的第一条评论的写法是服务端的写法,客户端是一个网页,那个ip和端口该怎么写呢