新增重连按钮

This commit is contained in:
chuzhongzai
2026-01-20 22:29:06 +08:00
parent a81126d4da
commit 95c6bb4d82
2 changed files with 19 additions and 0 deletions
+6
View File
@@ -29,6 +29,7 @@
<el-switch @click="toggleStyle" v-model="isDark">夜间模式</el-switch>
<hr>
<el-button @click="isQuerying = true">在线搜索</el-button>
<el-button @click="reconnect">重连节点</el-button>
<hr>
<el-button v-if="isLion" @click="resetUndone">重置任务</el-button>
<div v-show="thumbnailGallery.thumb_link !== undefined">
@@ -191,6 +192,11 @@ let isLion = computed(() => {
return store.state.userId === 3
})
//重连节点
function reconnect(){
store.dispatch("reconnect")
}
//修改授权码
function alterAuthCode(){
if(newAuthCode.value.trim() === "" || tempAuthCode.value.trim() === "" || newAuthCode.value !== tempAuthCode.value)