fix: 首页判定逻辑优化
This commit is contained in:
parent
cbc3d53e08
commit
c80a4a7bb3
@ -32,7 +32,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
isHomePage() {
|
isHomePage() {
|
||||||
return this.$route.path === '/home' || this.$route.path === '/';
|
return (this.$route.path === '/home' || this.$route.path === '/') && !this.iframeUrl;
|
||||||
},
|
},
|
||||||
// documentClientHeight: {
|
// documentClientHeight: {
|
||||||
// get() {
|
// get() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user