|
@@ -101,7 +101,7 @@ const handleResize = () => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 监听路由变化
|
|
// 监听路由变化
|
|
|
-watch(() => route.path, (newPath, oldPath) => {
|
|
|
|
|
|
|
+watch(() => route.path, () => {
|
|
|
// 如果进入排除路由,立即关闭提示
|
|
// 如果进入排除路由,立即关闭提示
|
|
|
if (isExcludedRoute()) {
|
|
if (isExcludedRoute()) {
|
|
|
showLandscapeHint.value = false
|
|
showLandscapeHint.value = false
|
|
@@ -211,10 +211,7 @@ onUnmounted(() => {
|
|
|
padding: 0;
|
|
padding: 0;
|
|
|
}
|
|
}
|
|
|
html,
|
|
html,
|
|
|
-body,
|
|
|
|
|
-.common-layout,
|
|
|
|
|
-.el-container,
|
|
|
|
|
-#app {
|
|
|
|
|
|
|
+body{
|
|
|
width: 100vw;
|
|
width: 100vw;
|
|
|
height: 100vh;
|
|
height: 100vh;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|