mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-11-28 14:53:56 +08:00
fix: 重回log页log没有置底的问题
This commit is contained in:
@@ -49,11 +49,15 @@ function backToBottom() {
|
||||
onActivated(() => {
|
||||
onUpdate();
|
||||
|
||||
watchOnce(log, () => {
|
||||
nextTick(() => {
|
||||
backToBottom();
|
||||
if (log.value) {
|
||||
backToBottom();
|
||||
} else {
|
||||
watchOnce(log, () => {
|
||||
nextTick(() => {
|
||||
backToBottom();
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
onDeactivated(() => {
|
||||
|
||||
Reference in New Issue
Block a user