|
@@ -96,6 +96,9 @@ service.interceptors.response.use(
|
|
if (deviceid == undefined && router.currentRoute.value.path != '/login' && router.currentRoute.value.path != '/sunshineRun') {
|
|
if (deviceid == undefined && router.currentRoute.value.path != '/login' && router.currentRoute.value.path != '/sunshineRun') {
|
|
router.push('/login');
|
|
router.push('/login');
|
|
}
|
|
}
|
|
|
|
+ if (deviceid == undefined && router.currentRoute.value.path == '/gesture') {
|
|
|
|
+ router.push('/login/qrcode');
|
|
|
|
+ }
|
|
if (deviceid == undefined && router.currentRoute.value.path == '/sunshineRun') {
|
|
if (deviceid == undefined && router.currentRoute.value.path == '/sunshineRun') {
|
|
router.push('/login/sunshineRun');
|
|
router.push('/login/sunshineRun');
|
|
}
|
|
}
|