antd中只能给兄弟节点拖拽拖拽
import React from ‘react’import { Tree } from ‘antd’//antd中只能给兄弟节点拖拽拖拽const x = 3const y = 2const z = 1const gData = []const generateData = (_level, _preKey, _tns) => {const preKey = _preKey || ‘0’const tns = _tns || gDataconst children = []f
原创
2020-12-24 13:18:45 ·
1122 阅读 ·
1 评论