This commit is contained in:
gyq
2024-07-05 18:08:21 +08:00
parent 105e38c726
commit 8e69969c0e
6 changed files with 92 additions and 4 deletions

View File

@@ -63,7 +63,8 @@ watch(route, (to) => {
if (to.meta.keepAlive) {
includeList.push(to.name);
}
let arr = ["/login", "/device_list", "/add_device", "/add_label"];
// 需要全屏的路由
let arr = ["/login", "/device_list", "/add_device", "/add_label", '/webview'];
if (arr.includes(to.path)) {
hideLeftMenu.value = true;
} else {