A
A
Andrey2022-01-22 03:34:54
linux
Andrey, 2022-01-22 03:34:54

How to wait for data to be received from the calling component?

Kind. NUXT.
There are 2 components. One is called from the other with data ( PROMISE ). The called component initializes the Plugin, which eats data only during initialization ( mount ). But when initializing the data, there is still no data because the data has not yet reached the chain from the API.
I got out of the problem by creating a computed with a check through Object.assign and further initialization. But I don't like this approach. If anyone has any ideas or links - please share.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kir Marchenko, 2015-11-23
@balakinv

debianworld.ru/articles/nastrojka-rusifikaciya-kon...
The letters "Local loop" are hidden under the squares, follow the link for instructions on how to fix it.

O
Oleg Tsilyurik, 2015-11-23
@Olej

What could be wrong?

In the ISO image from where it was installed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question