From 9a47d3c2bb7f912b659b8efef5156ed6d58eeaae Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Fri, 23 Jan 2026 22:33:49 +0800 Subject: [PATCH] =?UTF-8?q?feat(web):=20=E6=B7=BB=E5=8A=A0=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E7=A1=AE=E8=AE=A45=E7=A7=92=E5=80=92=E8=AE=A1?= =?UTF-8?q?=E6=97=B6=E7=BB=84=E4=BB=B6=EF=BC=8C=E9=98=B2=E6=AD=A2=E8=AF=AF?= =?UTF-8?q?=E5=88=A0=20(#1271)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Initial plan * feat(web): 添加删除确认5秒倒计时组件,防止误删 Co-authored-by: devhaozi <115467771+devhaozi@users.noreply.github.com> * fix(web): 修复倒计时定时器并支持多语言格式化 Co-authored-by: devhaozi <115467771+devhaozi@users.noreply.github.com> * fix: 秒数不需要多语言 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: devhaozi <115467771+devhaozi@users.noreply.github.com> Co-authored-by: 耗子 --- web/src/components/common/DeleteConfirm.vue | 124 ++++++++++++++++++++ web/src/views/database/DatabaseList.vue | 5 +- web/src/views/database/UserList.vue | 5 +- web/src/views/project/ListView.vue | 9 +- web/src/views/website/ListView.vue | 9 +- 5 files changed, 140 insertions(+), 12 deletions(-) create mode 100644 web/src/components/common/DeleteConfirm.vue diff --git a/web/src/components/common/DeleteConfirm.vue b/web/src/components/common/DeleteConfirm.vue new file mode 100644 index 00000000..0f5ec14f --- /dev/null +++ b/web/src/components/common/DeleteConfirm.vue @@ -0,0 +1,124 @@ + + + diff --git a/web/src/views/database/DatabaseList.vue b/web/src/views/database/DatabaseList.vue index 25e60d23..f9a4c06f 100644 --- a/web/src/views/database/DatabaseList.vue +++ b/web/src/views/database/DatabaseList.vue @@ -1,8 +1,9 @@