升级依赖,新增删除本地授权码的按钮(同步更新)
This commit is contained in:
parent
f1037820ec
commit
e47dafc5c2
@ -11,7 +11,7 @@
|
||||
<el-option value="tag" label="标签"/>
|
||||
</el-select>
|
||||
参数:
|
||||
<el-input style="width: 250px;" v-model="param"></el-input>
|
||||
<el-input style="width: 250px;" v-model="param" class="el-input"></el-input>
|
||||
</el-col>
|
||||
<el-col>
|
||||
<el-button @click="queryRemoteTask" v-show="type === 'link'">远程查询</el-button>
|
||||
@ -21,6 +21,7 @@
|
||||
<br>
|
||||
<el-button @click="openPanel">打开面板</el-button>
|
||||
<el-button @click="isAlterAuthCode = true">修改授权码</el-button>
|
||||
<el-button @click="deleteAuthCode">删除本地授权码</el-button>
|
||||
<br>
|
||||
<div v-show="thumbnailGallery !== {}">
|
||||
<span>
|
||||
@ -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){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user