correction scroll preview
This commit is contained in:
parent
c3c9de2ca2
commit
ccdd9bda05
3 changed files with 15 additions and 6 deletions
|
|
@ -195,7 +195,7 @@
|
|||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, watch, onMounted, inject } from 'vue';
|
||||
import { ref, computed, watch, onMounted, inject, nextTick } from 'vue';
|
||||
import bookIcon from '/assets/svg/book.svg?raw';
|
||||
import { useStylesheetStore } from '../../stores/stylesheet';
|
||||
import { useDebounce } from '../../composables/useDebounce';
|
||||
|
|
@ -518,7 +518,7 @@ const syncFromStore = () => {
|
|||
(rightPageMatch && rightPageMatch[0].includes('string(title)'));
|
||||
runningTitle.value = hasRunningTitle;
|
||||
} finally {
|
||||
isUpdatingFromStore = false;
|
||||
nextTick(() => { isUpdatingFromStore = false; });
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue