refactor: new resource

This commit is contained in:
wangjiahao
2025-06-09 22:13:03 +08:00
parent e5ae9b5ceb
commit 8fd76c4b20
8 changed files with 93 additions and 53 deletions
+2 -1
View File
@@ -8,5 +8,6 @@ export const dashboardApi = {
addResource: (data: any) => request.post('/dashboard/add',data),
updateResource: (data: any) => request.post('/dashboard/update',data),
saveCanvas: (data: any) => request.post('/dashboard/add_canvas',data),
updateCanvas: (data: any) => request.post('/dashboard/update_',data)
updateCanvas: (data: any) => request.post('/dashboard/update_',data),
check_name: (data: any) => request.post('/dashboard/check_name',data)
}