mirror of
https://github.com/qishibo/AnotherRedisDesktopManager.git
synced 2026-01-18 16:12:43 +00:00
delete batch when multi operating
This commit is contained in:
parent
9d94cb492d
commit
fe59ea9c19
@ -142,7 +142,7 @@ export default {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.del-batch-key-list-ol {
|
||||
min-height: calc(50vh);
|
||||
min-height: calc(100vh - 272px);
|
||||
overflow: auto;
|
||||
padding-left: 10px;
|
||||
list-style-position: inside;
|
||||
|
||||
@ -142,8 +142,13 @@ export default {
|
||||
clipboard.writeText(this.rightClickNode.name);
|
||||
break;
|
||||
}
|
||||
// del single key
|
||||
// del single key["delete" in the key right menu]
|
||||
case 'delete': {
|
||||
// del batch instead of single when multi operating
|
||||
if (this.multiOperating) {
|
||||
return this.deleteBatch();
|
||||
}
|
||||
|
||||
let keyBuffer = Buffer.from(this.rightClickNode.nameBuffer.data);
|
||||
|
||||
this.client.del(keyBuffer).then((reply) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user