J
J
Jairman2020-01-15 20:33:35
Laravel
Jairman, 2020-01-15 20:33:35

How to turn off browser page refresh?

The screenshot shows a table in which the data is constantly updated so that its code cannot be viewed, because it is collapsed. How to make the code stop changing or the data update stops?
5e1f4c39e2ffd381519246.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
Crash XD, 2019-04-03
@jazzus

The $user variable stores the old state of the object, as it was before the passport was created.
If you get the user from the database again, then hasPassport will still show true. Have n't tried
option c . It is possible that in this case there will be a new request to the database, so it will work without the need to re-get the User object. return $this->passport()->exists();

L
Lev Zabudkin, 2020-01-16
@Jairman

Go to the element code or press F12 and bring up the console, then press F8 to pause all scripts on the javascript site
and copy what you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question