feat: create icon on tree

This commit is contained in:
oat 2023-12-07 11:19:26 +07:00 committed by Methapon2001
parent 5b7441d482
commit c77c678f42
No known key found for this signature in database
GPG key ID: 849924FEF46BD132

View file

@ -68,16 +68,21 @@ onMounted(getCabinet)
<div class="col-12 col-md-3">
<div class="bg-white rounded-borders shadow-5">
<div
class="q-px-md q-py-sm text-primary bg-grey-1 pointer"
class="q-px-md q-py-sm text-primary bg-grey-1 pointer row justify-between items-center"
id="container-header"
@click="
() => {
currentPath = ''
getFolder(currentPath)
}
"
>
<span class="block q-my-sm text-weight-bold">ดเกบเอกสาร</span>
<span
class="block q-my-sm text-weight-bold"
@click="
() => {
currentPath = ''
getFolder(currentPath)
}
"
>ดเกบเอกสาร</span
>
<q-btn dense flat color="primary" icon="add" @click="() => triggerFolderCreate()"
id="createFolder"/>
</div>
<q-separator />
<div class="q-pa-md">