Skip to content

Commit 09f2966

Browse files
fix: typos
1 parent af6a32e commit 09f2966

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/src/views/dashboard/utils/canvasUtils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ export const initCanvasData = (params: any, callBack: Function) => {
2929

3030
export const saveDashboardResource = (params: any, callBack: Function) => {
3131
if(params.opt === 'newLeaf'){// create canvas
32-
const reqeustParams = {
32+
const requestParams = {
3333
...params,
3434
component_data:JSON.stringify(componentData.value),
3535
canvas_style_data:JSON.stringify(canvasStyle.value)
3636
}
37-
dashboardApi.saveCanvas(reqeustParams).then((res: any) => {
37+
dashboardApi.saveCanvas(requestParams).then((res: any) => {
3838
dashboardStore.updateDashboardInfo({id:res.id,dataState:'ready'})
3939
callBack(res)
4040
})
@@ -44,4 +44,4 @@ export const saveDashboardResource = (params: any, callBack: Function) => {
4444
})
4545
}
4646

47-
}
47+
}

0 commit comments

Comments
 (0)