mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-10-13 02:44:01 +08:00
perf: add item size display for Hash, List, Set, ZSet, and Stream #23
This commit is contained in:
@@ -20,6 +20,7 @@ const props = defineProps({
|
||||
default: -1,
|
||||
},
|
||||
value: Object,
|
||||
size: Number,
|
||||
})
|
||||
|
||||
const filterOption = [
|
||||
@@ -288,7 +289,9 @@ const onUpdateFilter = (filters, sourceColumn) => {
|
||||
</n-tooltip>
|
||||
</n-input-group>
|
||||
</div>
|
||||
<div class="flex-item-expand"></div>
|
||||
<div class="tb2-extra-info flex-item-expand">
|
||||
<n-tag size="large">{{ $t('interface.total', { size: props.size }) }}</n-tag>
|
||||
</div>
|
||||
<n-button plain :focusable="false" @click="onAddRow">
|
||||
<template #icon>
|
||||
<n-icon :component="AddLink" size="18" />
|
||||
|
Reference in New Issue
Block a user