This commit is contained in:
shaoyongjun 2024-10-31 16:31:25 +08:00
parent 50b0824b5a
commit cf6e0befd3
2 changed files with 2 additions and 1 deletions

View File

@ -291,7 +291,7 @@ export class MyUtils {
let nowFrontSize = ((curClientW / designWidth) / 10) + 'px';
curDoc.style.fontSize = nowFrontSize;
console.log("curClientW :", curClientW, "designWidth: ", designWidth, "-> ", nowFrontSize)
document.getElementById("testDevice").innerText = "curClientW :" + curClientW + " designWidth: " + designWidth + "-> " + nowFrontSize
}
RefreshBodyFrontSize() {

View File

@ -125,6 +125,7 @@
</div>
</div>
</footer>
<div id="testDevice"></div>
</body>