refactor: เพิ่มผู้เขียน
This commit is contained in:
parent
ae2e0edfd2
commit
cad864d224
2 changed files with 14 additions and 3 deletions
|
|
@ -145,6 +145,15 @@ async function downloadSubmit(path: string | undefined) {
|
|||
</div>
|
||||
</div>
|
||||
<q-separator />
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-3">
|
||||
<span>ผู้เขียน</span>
|
||||
</div>
|
||||
<div class="col-grow">
|
||||
<span class="text-grey">{{ fileInfo?.author }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<q-separator />
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-3">
|
||||
<span>กลุ่ม/หมวดหมู่</span>
|
||||
|
|
|
|||
|
|
@ -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