From 4f06a20e522dfb1d497018f51b6dcda3b73cb6ce Mon Sep 17 00:00:00 2001 From: chuzhongzai Date: Wed, 8 Feb 2023 11:51:09 +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 53e58eb..241730c 100644 --- a/src/components/DashBoard.vue +++ b/src/components/DashBoard.vue @@ -11,7 +11,7 @@ 参数: - + 远程查询 @@ -21,6 +21,7 @@

修改授权码 + 删除本地授权码
@@ -257,6 +258,10 @@ function showThumbnailGallery(gallery){ document.querySelector(".preview > img").click() } +function deleteAuthCode(){ + localStorage.removeItem('auth') + ElMessage("删除授权码完成") +} onMounted(() => { const auth = localStorage.getItem("auth") if(auth !== null){