Feat: edit and view - support simulated Android device preview

This commit is contained in:
2024-03-22 16:54:43 +08:00
parent 3e34ae7616
commit 3ac302c14b
14 changed files with 298 additions and 14 deletions

View File

@@ -36,6 +36,10 @@
document.body.appendChild(script);
URL.revokeObjectURL(oldSrc);
}
if (data?.type === "SCALE") {
document.getElementById("root").style.zoom = data.data.zoom
}
});
</script>
<script type="module" id="appSrc"></script>