refactor: add id for robot

This commit is contained in:
oat 2023-12-01 17:49:25 +07:00
parent 3bda1bd620
commit 2f706f879b
5 changed files with 26 additions and 6 deletions

View file

@ -66,6 +66,7 @@ onMounted(getCabinet)
label="ค้นหา"
bg-color="white"
v-model="inputSearch"
id="inputSearch"
>
<template v-slot:append><q-icon name="search" /></template>
</q-input>
@ -107,7 +108,12 @@ onMounted(getCabinet)
dense
class="q-mr-sm q-px-sm"
v-if="currentDept > 0 && isSearch === false"
@click="() => gotoParent()"
@click="
() => {
folderFormState = false
gotoParent()
}
"
>
<q-icon name="arrow_back" size="1rem" color="primary" />
</q-btn>
@ -137,6 +143,7 @@ onMounted(getCabinet)
dense
icon="add"
@click="() => triggerFolderCreate()"
id="createFolder"
/>
</span>
<div>
@ -147,6 +154,7 @@ onMounted(getCabinet)
icon="refresh"
class="q-mr-sm"
@click="() => getFolder(currentPath)"
id="getFolder"
/>
<q-btn
flat
@ -159,6 +167,7 @@ onMounted(getCabinet)
viewMode === 'view_list' ? 'view_module' : 'view_list'
}
"
id="viewMode"
/>
</div>
</div>