restore use power when removed not finish jobs

This commit is contained in:
RockYang
2024-07-31 16:08:46 +08:00
parent 96f1126d02
commit 1d9d487f0e
25 changed files with 425 additions and 487 deletions

View File

@@ -381,9 +381,9 @@ onMounted(() => {
checkSession().then(user => {
userId.value = user.id
fetchData(1)
connect()
})
fetchData(1)
})
onUnmounted(() => {
@@ -410,6 +410,8 @@ const fetchData = (_page) => {
list.value = items
noData.value = list.value.length === 0
}).catch(e => {
loading.value = false
noData.value = true
showMessageError("获取作品列表失败:"+e.message)
})
}