diff --git a/Services/client/src/stores/tree-data.ts b/Services/client/src/stores/tree-data.ts index d1fc866..fae7662 100644 --- a/Services/client/src/stores/tree-data.ts +++ b/Services/client/src/stores/tree-data.ts @@ -95,7 +95,7 @@ export const useTreeDataStore = defineStore('changeCabinet', () => { currentPath.value = pathname const res = await axiosClient.get( - `${apiEndpoint}${requestPath}` + `${apiEndpoint}${requestPath}`, ) const list = res.data.map((v) => ({ @@ -246,7 +246,7 @@ export const useTreeDataStore = defineStore('changeCabinet', () => { description: string keyword: string category: string - } + }, ) { loader.show() @@ -266,7 +266,7 @@ export const useTreeDataStore = defineStore('changeCabinet', () => { { file: file.name, ...metadata, - } + }, ) if (res && res.data.upload) { @@ -295,7 +295,7 @@ export const useTreeDataStore = defineStore('changeCabinet', () => { keyword: string category: string }, - file?: File + file?: File, ) { loader.show() @@ -310,7 +310,7 @@ export const useTreeDataStore = defineStore('changeCabinet', () => { const res = await axiosClient.patch<{ upload: string }>( `${apiEndpoint}${requestPath}`, - { file: file?.name, ...metadata } + { file: file?.name, ...metadata }, ) if (res && res.data.upload) {