refactor: add id for robot
This commit is contained in:
parent
3bda1bd620
commit
2f706f879b
5 changed files with 26 additions and 6 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue