style: image display ratio

This commit is contained in:
jialin
2024-12-02 17:00:26 +08:00
parent cb13f66b3d
commit 804cbb8c56
18 changed files with 296 additions and 213 deletions
+2 -2
View File
@@ -137,6 +137,6 @@ export const isHTMLDocumentString = (str: string) => {
// generate a random number between 0 and 64 bit
export const generateRandomNumber = () => {
// 0x100000000
return Math.floor(Math.random() * Number.MAX_SAFE_INTEGER);
// 16: 0x100032:0x100000000
return Math.floor(Math.random() * 0x100000000);
};