iframetest
This commit is contained in:
parent
f039f23525
commit
1db5db8a85
|
@ -15,9 +15,9 @@ const Iframe = (props) => {
|
|||
// }
|
||||
|
||||
function iframeLoad() {
|
||||
// let myIframe = document.getElementById("iframe");
|
||||
// myIframe.height = `${document.documentElement.clientHeight - 300}px`
|
||||
// if (myIframe.contentWindow.location && myIframe.contentWindow.location.href) {
|
||||
let myIframe = document.getElementById("iframe");
|
||||
myIframe.height = `${document.documentElement.clientHeight - 473 + 86}px`
|
||||
// if (myIframe.contentWindow.location && myIfram e.contentWindow.location.href) {
|
||||
// window.location.href = 'http://118.145.132.196:3000/product/llm/llm-chat'
|
||||
// //myIframe.contentWindow.location.href
|
||||
// }
|
||||
|
|
|
@ -250,5 +250,6 @@ i.color-orange05:hover {
|
|||
}
|
||||
|
||||
.test-iframe {
|
||||
margin-top: -30px;
|
||||
margin-top: -48px;
|
||||
vertical-align:bottom;
|
||||
}
|
Loading…
Reference in New Issue