refactor: เพิ่มผู้เขียน
This commit is contained in:
parent
ae2e0edfd2
commit
cad864d224
2 changed files with 14 additions and 3 deletions
|
|
@ -26,6 +26,8 @@ export interface StorageFile {
|
|||
fileType: string
|
||||
title: string
|
||||
description: string
|
||||
author: string,
|
||||
metadata: Record<string, unknown>
|
||||
category: string[]
|
||||
keyword: string[]
|
||||
updatedAt: string
|
||||
|
|
@ -439,9 +441,9 @@ const useStorage = defineStore('storageStore', () => {
|
|||
},
|
||||
to: file?.name
|
||||
? {
|
||||
file: file.name,
|
||||
path: arr,
|
||||
}
|
||||
file: file.name,
|
||||
path: arr,
|
||||
}
|
||||
: undefined,
|
||||
upload: !!file,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue