refactor: add id for test
This commit is contained in:
parent
fce11a9a9b
commit
d2ff5c81ba
10 changed files with 31 additions and 5 deletions
|
|
@ -199,6 +199,7 @@ async function submitFileForm(
|
|||
;(folderFormState = false), getFolder(value.pathname)
|
||||
}
|
||||
"
|
||||
:id="`getFolderFileItem${index}`"
|
||||
>
|
||||
<div class="q-px-md flex items-center justify-center">
|
||||
<q-icon
|
||||
|
|
@ -243,6 +244,7 @@ async function submitFileForm(
|
|||
padding: currentDept > 2 ? '.5rem 0' : '.5rem',
|
||||
}"
|
||||
@click="() => triggerFolderCreate()"
|
||||
id="triggerFolderCreateFileItem"
|
||||
>
|
||||
<div
|
||||
class="q-px-md flex items-center justify-center"
|
||||
|
|
@ -286,7 +288,7 @@ async function submitFileForm(
|
|||
เอกสาร
|
||||
</div>
|
||||
<div class="grid q-mt-md">
|
||||
<div v-for="value in currentFile">
|
||||
<div v-for="value,index in currentFile">
|
||||
<div
|
||||
:style="{
|
||||
position: 'relative',
|
||||
|
|
@ -299,6 +301,7 @@ async function submitFileForm(
|
|||
}"
|
||||
class="box"
|
||||
@click="() => getFileInfo(value)"
|
||||
:id="`getFileInfoFileItem${index}`"
|
||||
>
|
||||
<div class="q-px-md flex items-center justify-center">
|
||||
<file-icon
|
||||
|
|
@ -347,6 +350,7 @@ async function submitFileForm(
|
|||
}"
|
||||
class="dashed"
|
||||
@click="() => triggerFileCreate()"
|
||||
id="triggerFileCreateFileItem"
|
||||
>
|
||||
<div
|
||||
class="q-px-md flex items-center justify-center"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue