Files
mh_feishu/blk_inventory/public/index.html
2025-03-01 22:40:33 +08:00

25 lines
548 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<div id="root"></div>
</body>
<script>
function increment() {
var amount = document.getElementById("amount");
amount.value = parseInt(amount.value) + 1;
}
function decrement() {
var amount = document.getElementById("amount");
if (amount.value > 0) {
amount.value = parseInt(amount.value) - 1;
}
}
</script>
</html>