mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-11 19:05:20 +08:00
完善定时任务视图拖拽
This commit is contained in:
@@ -187,8 +187,8 @@ const ViewManageModal = ({
|
||||
}
|
||||
const dragRow = list[dragIndex];
|
||||
request
|
||||
.put(`${config.apiPrefix}envs/${dragRow.id}/move`, {
|
||||
data: { fromIndex: dragIndex, toIndex: hoverIndex },
|
||||
.put(`${config.apiPrefix}crons/views/move`, {
|
||||
data: { fromIndex: dragIndex, toIndex: hoverIndex, id: dragRow.id },
|
||||
})
|
||||
.then((data: any) => {
|
||||
if (data.code === 200) {
|
||||
|
||||
Reference in New Issue
Block a user