远程查询
@@ -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){