I have a grid of images whose order can be changed by the user. I want to save the modified order and have it accessible so that it persists on a page refresh or when the user revisits the form. Ideally, the or
useSortable我最终弄明白了。<SortableItem />组件上的key必须与<SortableItem />组件上的id相同。奇怪...
3、使用方法 {menus && menus.map((item, i) => { return this.renderSelectedItemView(item, i); })} sortableGroupDecorator = componentBackingInstance => { if (componentBackingInstance) { let options = { draggable: ".rows", // animation: "150", onEnd: evt => { let children = evt...