chore: format
This commit is contained in:
parent
e08850b90e
commit
d7049fb429
1 changed files with 5 additions and 5 deletions
|
|
@ -95,7 +95,7 @@ export const useTreeDataStore = defineStore('changeCabinet', () => {
|
|||
currentPath.value = pathname
|
||||
|
||||
const res = await axiosClient.get<EhrFolder[]>(
|
||||
`${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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue