feat: CRUD work
This commit is contained in:
parent
12e52e4a79
commit
2fb345e78f
3 changed files with 115 additions and 55 deletions
|
|
@ -118,14 +118,14 @@ defineEmits<{
|
|||
</div>
|
||||
</q-item>
|
||||
<q-item
|
||||
@click="workName = item"
|
||||
@click="workName = item.name"
|
||||
clickable
|
||||
v-for="item in workNameItems"
|
||||
:key="item"
|
||||
v-for="(item, index) in workNameItems"
|
||||
:key="index"
|
||||
>
|
||||
<div class="full-width flex items-center">
|
||||
<q-icon
|
||||
v-if="workName === item"
|
||||
v-if="workName === item.name"
|
||||
name="mdi-checkbox-marked"
|
||||
size="xs"
|
||||
color="primary"
|
||||
|
|
@ -138,7 +138,7 @@ defineEmits<{
|
|||
style="color: hsl(var(--text-mute))"
|
||||
class="q-mr-sm"
|
||||
/>
|
||||
{{ item }}
|
||||
{{ item.name }}
|
||||
</div>
|
||||
</q-item>
|
||||
</q-menu>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue