A
A
Andrey Elsukov2021-11-02 03:55:15
Node.js
Andrey Elsukov, 2021-11-02 03:55:15

Why does the app crash when navigating fast? (vue + electron)?

There is a vue+electron app. When quickly navigating through pages, the following error appears:
61808c50c691c414668766.png
61808f05c9ba2612845050.png
Has anyone encountered this? What are the ways to solve this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Elsukov, 2021-11-03
@Dropsen

I decided.
What was the problem: if you quickly follow the links (router-link), then js, roughly speaking, js did not have time to load and I just followed href="section.*".
How I fixed it: I removed it and changed it to a div with @click="$router.push(...)".
It turns out that until the entire page is loaded, the transition will not occur

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question