fix: 修复 ULID 输出换行符报错

This commit is contained in:
搜索客
2025-12-25 08:55:28 +08:00
committed by GitHub
parent 26feecfe52
commit 08271f9c2e
+2 -3
View File
@@ -178,8 +178,7 @@
const randomPart = randomString(16);
output.push(timePart + randomPart);
}
document.getElementById('ulid-output').value = output.join('
');
document.getElementById('ulid-output').value = output.join('\n');
}
function clearOutput() {
@@ -189,4 +188,4 @@
<script src="/assets/clicks.js" defer></script>
</body>
</html>
</html>