[fix] Android

This commit is contained in:
建喵 2022-04-21 18:06:06 +08:00
parent f514ce114d
commit 083860b97f
5 changed files with 9 additions and 3 deletions

File diff suppressed because one or more lines are too long

BIN
dist/favicon.ico vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 57 KiB

2
dist/index.html vendored
View File

@ -7,7 +7,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HTML5 QR Code with Vue js</title>
<script type="module" crossorigin src="./assets/index.8e1874c4.js"></script>
<script type="module" crossorigin src="./assets/index.2d623832.js"></script>
<link rel="stylesheet" href="./assets/index.376fffd7.css">
</head>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

@ -35,7 +35,13 @@ function OnclickOpen() {
if (count.value > 1) {
addcount = `+${count.value - 1}`;
}
if (isAndroid) {
window.open(`sms:1922?&amp;body=${smscontent.value}${addcount}`, "_self");
} else if (isiOS) {
window.open(`sms:1922&body=${smscontent.value}${addcount}`, "_self");
} else {
alert(`sms:1922&body=${smscontent.value}${addcount}`);
}
}
async function onLoad(): Promise<void> {