refactor: tree-ex ellipsis + listview style

This commit is contained in:
oat 2023-11-28 18:05:46 +07:00 committed by Methapon2001
parent e18450cdbd
commit d82cf45417
No known key found for this signature in database
GPG key ID: 849924FEF46BD132
2 changed files with 19 additions and 2 deletions

View file

@ -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)