比如 csv 结构,或者下面的 db 输出
+----+------------+
| id | pId |
+----+------------+
| 0 | -1 |
| 1 | 0 |
| 2 | 1 |
| 3 | 1 |
| 4 | 0 |
| 5 | 0 |
| 6 | 0 |
| 7 | 0 |
| 8 | 0 |
| 9 | 0 |
| 10 | 0 |
| 11 | 7 |
| 12 | 1 |
| 13 | 7 |
| 14 | 7 |
| 15 | 7 |
| 16 | 7 |
| 17 | 0 |
| 18 | 7 |
| 24 | 17 |
+----+------------+
1
337136897 2023-12-15 15:19:20 +08:00
自己写一个
|
2
JinTianYi456 OP @337136897 #1 好吧,用 zTree 写一个
|