[fix] Android
This commit is contained in:
parent
f514ce114d
commit
083860b97f
File diff suppressed because one or more lines are too long
BIN
dist/favicon.ico
vendored
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
2
dist/index.html
vendored
@ -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 |
@ -35,7 +35,13 @@ function OnclickOpen() {
|
||||
if (count.value > 1) {
|
||||
addcount = `+${count.value - 1}`;
|
||||
}
|
||||
if (isAndroid) {
|
||||
window.open(`sms:1922?&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> {
|
||||
|
Loading…
Reference in New Issue
Block a user