From 36a8c38877e495c337143d514fef0d1d1a8fd941 Mon Sep 17 00:00:00 2001 From: Lykin <137850705+tiny-craft@users.noreply.github.com> Date: Wed, 3 Jan 2024 15:55:53 +0800 Subject: [PATCH] perf: add quick settings for ttl dialog --- .../src/components/dialogs/NewKeyDialog.vue | 1 + .../components/dialogs/RenameKeyDialog.vue | 4 +- .../src/components/dialogs/SetTtlDialog.vue | 87 ++++++++++++++----- frontend/src/langs/en-us.json | 6 +- frontend/src/langs/zh-cn.json | 6 +- 5 files changed, 78 insertions(+), 26 deletions(-) diff --git a/frontend/src/components/dialogs/NewKeyDialog.vue b/frontend/src/components/dialogs/NewKeyDialog.vue index b3a0b38..0f6c86b 100644 --- a/frontend/src/components/dialogs/NewKeyDialog.vue +++ b/frontend/src/components/dialogs/NewKeyDialog.vue @@ -207,6 +207,7 @@ const onClose = () => { v-model:value="newForm.ttl" :max="Number.MAX_SAFE_INTEGER" :min="-1" + :show-button="false" placeholder="TTL">