mirror of
https://github.com/justhtmls/html-tools.git
synced 2026-09-01 15:32:50 +08:00
fix: 修复 ULID 输出换行符报错
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user