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
|
description: string
|
||||||
keyword: string[]
|
keyword: string[]
|
||||||
category: string[]
|
category: string[]
|
||||||
|
author: string
|
||||||
},
|
},
|
||||||
pathname: string,
|
pathname: string,
|
||||||
file?: string,
|
file?: string,
|
||||||
|
|
@ -49,6 +50,7 @@ function triggerFileEdit(
|
||||||
description: value.description,
|
description: value.description,
|
||||||
keyword: value.keyword,
|
keyword: value.keyword,
|
||||||
category: value.category,
|
category: value.category,
|
||||||
|
author: value.author,
|
||||||
}
|
}
|
||||||
fileNameLabel.value = file
|
fileNameLabel.value = file
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -246,6 +246,7 @@ function triggerFileDelete(pathname: string) {
|
||||||
description: value.description,
|
description: value.description,
|
||||||
keyword: value.keyword,
|
keyword: value.keyword,
|
||||||
category: value.category,
|
category: value.category,
|
||||||
|
author: value.author,
|
||||||
},
|
},
|
||||||
value.pathname,
|
value.pathname,
|
||||||
value.fileName,
|
value.fileName,
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,6 @@ const columns: QTableProps['columns'] = [
|
||||||
field: '',
|
field: '',
|
||||||
style: 'width: 20px',
|
style: 'width: 20px',
|
||||||
},
|
},
|
||||||
|
|
||||||
]
|
]
|
||||||
const socket = io(import.meta.env.VITE_API_HOST)
|
const socket = io(import.meta.env.VITE_API_HOST)
|
||||||
|
|
||||||
|
|
@ -232,6 +231,7 @@ onMounted(() => {
|
||||||
description: value.description,
|
description: value.description,
|
||||||
keyword: value.keyword,
|
keyword: value.keyword,
|
||||||
category: value.category,
|
category: value.category,
|
||||||
|
author: value.author,
|
||||||
},
|
},
|
||||||
value.pathname,
|
value.pathname,
|
||||||
value.fileName,
|
value.fileName,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue