mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-11-03 03:32:08 +08:00
Vue Router 4 deprecated the next() callback in navigation guards and
warns loudly on every navigation. Switch the beforeEach guard to the
return-based API: `return true` to continue, `return { name: 'login' }`
to redirect. Drop the now-unused NavigationGuardNext import.