mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-30 13:14:20 +00:00
les sorts/monstres/objets magiques sont visibles directement depuis les listes d'un simple clic
This commit is contained in:
parent
65fa675c6f
commit
2a3f9b153a
8 changed files with 80 additions and 16 deletions
|
|
@ -16,6 +16,7 @@
|
|||
:items-per-page="-1"
|
||||
hide-default-footer
|
||||
show-expand
|
||||
@click:row="onClickRow"
|
||||
>
|
||||
|
||||
<template v-slot:expanded-item="{ headers, item }">
|
||||
|
|
@ -127,6 +128,9 @@ export default {
|
|||
}
|
||||
}
|
||||
return false
|
||||
},
|
||||
onClickRow (row, item) {
|
||||
item.expand(!item.isExpanded)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue