From e47dafc5c2788b591911d1729b08224d45514f70 Mon Sep 17 00:00:00 2001 From: chuzhongzai Date: Wed, 8 Feb 2023 11:51:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E4=BE=9D=E8=B5=96=EF=BC=8C?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=88=A0=E9=99=A4=E6=9C=AC=E5=9C=B0=E6=8E=88?= =?UTF-8?q?=E6=9D=83=E7=A0=81=E7=9A=84=E6=8C=89=E9=92=AE=EF=BC=88=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=E6=9B=B4=E6=96=B0=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DashBoard.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/DashBoard.vue b/src/components/DashBoard.vue index 951df53..15a3ef7 100644 --- a/src/components/DashBoard.vue +++ b/src/components/DashBoard.vue @@ -11,7 +11,7 @@ 参数: - + 远程查询 @@ -21,6 +21,7 @@
打开面板 修改授权码 + 删除本地授权码
@@ -259,6 +260,10 @@ function onlineGalleryReader(name){ window.open("http://zfile.lionwebsite.xyz/1/gallery/" + encodeURI(name)) } +function deleteAuthCode(){ + localStorage.removeItem('auth') + ElMessage("删除授权码完成") +} onMounted(() => { const auth = localStorage.getItem("auth") if(auth !== null){