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){