[SOLVED] Re loding issue


#1

used f7 v2,

from the login page, after successful login, i redirect to index page again, but it does not loading the content properly

i tried following

mainView.router.navigate(’/’);
mainView.router.navigate(’/’,{reloadAll: true});
mainView.router.back(’/’,{force: true, ignoreCache: true});

mainView.router.refreshPreviousPage();
mainView.router.navigate("/",{force:true, ignoreCache: true});
mainView.router.reloadPreviousPage("/",{force:true, ignoreCache: true});

but does not work, can you please help?


#2

Care to share the code? what do you mean with this:

You see the content but is wrong? in what way is wrong?


#3

try replace your sintaxe

app.router.navigate ('/', {reloadAll: true}, {ignoreCache: true});


#4

No content, getting loader keep loading, nothing display in content part.


#5

Thank you,

tried, but it does not work. still content is not loading.


#6

Try checking the Console window(when you test in browser) and see whether there’s any javascript errors.


#7

It works to redirect other pages

mainView.router.navigate("/some_pages/", {reloadAll:true, ignoreCache:true});

But it does not work in index page

mainView.router.navigate("/", {reloadAll:true, ignoreCache:true});


#8

try it

app.router.navigate ("/", {reloadAll: true}, {ignoreCache: true});


#9

I guess you may have some routes miscondiguration. What is in your routes and what is in your file that you load for “/“?


#10

“/” is default page “index.html”

so that it does not work, created new page and redirected to that. now it works,

thank you for your details.