You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
356 B

2 years ago
2 years ago
  1. export default ({ app, store }) => {
  2. app.router.beforeEach((to, from, next) => {
  3. console.log(to.name);
  4. if (to.name === 'ServiceContent'){
  5. to.meta.refresh = false;
  6. }
  7. // store.dispatch("toggleOrgID").then(() => {
  8. // next();
  9. // }).catch(() => {
  10. // next();
  11. // });
  12. });
  13. }