ruoyi-ui/src/components/iFrame/index.vue
@@ -21,16 +21,16 @@ height: document.documentElement.clientHeight - 94.5 + "px;", loading: true, url: this.src }; } }, mounted: function () { setTimeout(() => { this.loading = false; }, 300); const that = this; this.loading = false }, 300) const that = this window.onresize = function temp() { that.height = document.documentElement.clientHeight - 94.5 + "px;"; }; that.height = document.documentElement.clientHeight - 94.5 + "px;" } }; } } </script>