refactor: tree-ex ellipsis + listview style
This commit is contained in:
parent
e18450cdbd
commit
d82cf45417
2 changed files with 19 additions and 2 deletions
|
|
@ -166,7 +166,7 @@ const onRowClick = (evt: Event, row: TreeDataFolder, index: number) => {
|
|||
class="cursor"
|
||||
>
|
||||
<template v-slot:body-cell-name="nameRow">
|
||||
<q-td>
|
||||
<q-td style="width: 50%">
|
||||
<q-icon :name="currentIcon" size="2em" color="primary" />
|
||||
{{ nameRow.row.name }}
|
||||
</q-td>
|
||||
|
|
@ -257,9 +257,11 @@ const onRowClick = (evt: Event, row: TreeDataFolder, index: number) => {
|
|||
row-key="name"
|
||||
hide-bottom
|
||||
:rows-per-page-options="[0]"
|
||||
class="cursor"
|
||||
>
|
||||
<template v-slot:body-cell-name="nameRow">
|
||||
<q-td
|
||||
style="width: 50%"
|
||||
@click="
|
||||
() => {
|
||||
getFolder(nameRow.row.pathname)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue