fix: add missing update field
This commit is contained in:
parent
978de491df
commit
592a6296e9
3 changed files with 4 additions and 1 deletions
|
|
@ -37,6 +37,7 @@ function triggerFileEdit(
|
|||
description: string
|
||||
keyword: string[]
|
||||
category: string[]
|
||||
author: string
|
||||
},
|
||||
pathname: string,
|
||||
file?: string,
|
||||
|
|
@ -49,6 +50,7 @@ function triggerFileEdit(
|
|||
description: value.description,
|
||||
keyword: value.keyword,
|
||||
category: value.category,
|
||||
author: value.author,
|
||||
}
|
||||
fileNameLabel.value = file
|
||||
}
|
||||
|
|
|
|||
|
|
@ -246,6 +246,7 @@ function triggerFileDelete(pathname: string) {
|
|||
description: value.description,
|
||||
keyword: value.keyword,
|
||||
category: value.category,
|
||||
author: value.author,
|
||||
},
|
||||
value.pathname,
|
||||
value.fileName,
|
||||
|
|
|
|||
|
|
@ -83,7 +83,6 @@ const columns: QTableProps['columns'] = [
|
|||
field: '',
|
||||
style: 'width: 20px',
|
||||
},
|
||||
|
||||
]
|
||||
const socket = io(import.meta.env.VITE_API_HOST)
|
||||
|
||||
|
|
@ -232,6 +231,7 @@ onMounted(() => {
|
|||
description: value.description,
|
||||
keyword: value.keyword,
|
||||
category: value.category,
|
||||
author: value.author,
|
||||
},
|
||||
value.pathname,
|
||||
value.fileName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue