fix: update truncation message for long output in RunCode component

This commit is contained in:
purocean
2025-01-12 15:22:19 +08:00
parent e4c15a50d3
commit 12ad406e7e
+1 -1
View File
@@ -66,7 +66,7 @@ const RunCode = defineComponent({
}
if (value.length > 32 * 1024) {
value = '------Output too long, truncated to 32KB------\n' + value.slice(-32 * 1024)
value = '------Output too long, truncated to 32K------\n' + value.slice(-32 * 1024)
}
result.value = value